eco/factorio --help tests fail on main with exit status 1 from go run subprocess #136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom Three help-output tests fail on
main(go test ./cmd/coily/):TestEcoWorld_HelpListsAllSubVerbs-eco world --help failed: exit status 1TestFactorioMods_HelpListsListAndSync-factorio mods --help failed: exit status 1TestFactorioMods_SyncHelpListsFlags-factorio mods sync --help failed: exit status 1Each test shells out via
go run ./cmd/coily gaming eco world --help(and the factorio equivalents) and asserts the subprocess exits 0; it exits 1 instead.Pre-existing Reproduced on clean
main(commita955d66) with no local changes - confirmed by stashing an unrelated go.mod bump and re-running. Not a regression from the cli-guard v0.1.0 bump.Not yet root-caused Could not reproduce the subprocess directly from this host because
go runis denied by the coily lockdown. Thego runinvocation inside the test binary is unaffected by the hook, so the exit-1 comes from coily itself (or its build under the test's invocation), not from the lockdown.Surfaced while bumping coily to cli-guard v0.1.0 to ship the lockdown trailing-newline fix (#135).