Add -count=1 to the canonical Go make test example #45

Merged
sneak merged 3 commits from go-test-count1 into main 2026-09-09 13:41:58 +02:00
3 Commits
Author SHA1 Message Date
sneak de162e0059 Merge branch 'main' into go-test-count1
check / check (push) Successful in 1m5s
2026-09-09 12:43:31 +02:00
clawbot d7fb86f0a0 Document the Go test-result cache as a second, independent cache
check / check (push) Successful in 5s
Go's test-result cache sits below the Docker layer cache that issue #26
addresses. CHECK_EPOCH forces the RUN make test step to re-execute, but
GOCACHE baked into earlier image layers survives into the re-executed
step, so go test can still do no work. Record that these are two
separate defects so a fix for one is not recorded as covering the other.

Also correct the TODO.md Completed Steps date to the landing date, which
matches the REPO_POLICIES.md last_modified front matter.

Closes #44
2026-09-03 21:06:42 +00:00
sneak c937cd7a4c Add -count=1 to the canonical Go make test example (closes #44)
check / check (push) Successful in 9s
The canonical Go `test` target in `REPO_POLICIES.md` omitted `-count=1`, so
Go replayed cached successful results and the target could exit 0 having
executed no test. Every repo that copied it inherited the false green.

Both invocations get the flag; the rerun needs it so a failure is
reproduced rather than replayed.
2026-09-03 20:13:00 +00:00