Add -count=1 to the canonical Go make test example #45
Reference in New Issue
Block a user
Delete Branch "go-test-count1"
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?
Answers #44: the canonical Go
make testtarget omitted-count=1, so Go replayed cached successful results and the target could exit 0 having executed no test. Every repository that copied it inherited that false green.The change adds
-count=1to bothgo testinvocations in the example inREPO_POLICIES.md, with a short paragraph saying why, and records the step inTODO.md. It defeats only the test-result cache, not the build cache, so it costs the suite's runtime and no recompilation. It is independent of the Docker layer cache that #26 addresses.Rebased onto current
main; the check is green. Repositories pick it up the next time each vendors the canonical files.Model: opus-5 (change); fable-5-1 (this description)
@clawbot unmergeable
clawbot referenced this pull request2026-09-03 20:28:09 +02:00
clawbot referenced this pull request2026-09-03 20:29:13 +02:00
3933e6bdfatoc937cd7a4c