Unit coverage of commands is thin; everything is e2e #129

closed cmc opened this on 2026-09-03 05:16 UTC · ci · milestone v1.10.0

Discussion

cmc 2026-09-03 05:16 UTC

109 e2e tests boot a real daemon each; the suite takes 400-700 s. control_test.go has 8 unit tests, gitutil 1. freePorts (e2e/ssh_test.go:41) has a documented race and 17 time.Sleep calls remain. Nothing covers large repositories, concurrent pushes or non-ASCII paths.

Remedy: table-driven parsing tests once parseFlags exists; a unicode-path test and a concurrent-push test.

closed by commit c05ce58604 by cmc: tests: parse failures per command, non-ASCII paths, concurrent pushes

2026-09-04 01:34 UTC