REPO_POLICIES.md specifies make test should run without -v first and only rerun with -v on failure, to keep CI/build logs clean on success and detailed on failure (with a go test -race -cover example). Current script/test in this repo always runs go test -timeout 30s -v ./... (now also -race, added in PR #55) unconditionally, with no -cover and no conditional rerun.
Definition of done
script/test runs tests without -v first; on failure, reruns with -v for full diagnostic output, then exits non-zero per the pattern documented in REPO_POLICIES.md.
Add -cover to the non-verbose run per the policy's Go example.
make test still completes well under the 20s budget (30s hard timeout already in place).
make check green.
`REPO_POLICIES.md` specifies `make test` should run without `-v` first and only rerun with `-v` on failure, to keep CI/build logs clean on success and detailed on failure (with a `go test -race -cover` example). Current `script/test` in this repo always runs `go test -timeout 30s -v ./...` (now also `-race`, added in PR #55) unconditionally, with no `-cover` and no conditional rerun.
## Definition of done
- `script/test` runs tests without `-v` first; on failure, reruns with `-v` for full diagnostic output, then exits non-zero per the pattern documented in `REPO_POLICIES.md`.
- Add `-cover` to the non-verbose run per the policy's Go example.
- Keep the `-race` flag added in PR #55.
- `make test` still completes well under the 20s budget (30s hard timeout already in place).
- `make check` green.
clawbot
added this to the 1.0.0 milestone 2026-08-09 03:37:54 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
REPO_POLICIES.mdspecifiesmake testshould run without-vfirst and only rerun with-von failure, to keep CI/build logs clean on success and detailed on failure (with ago test -race -coverexample). Currentscript/testin this repo always runsgo test -timeout 30s -v ./...(now also-race, added in PR #55) unconditionally, with no-coverand no conditional rerun.Definition of done
script/testruns tests without-vfirst; on failure, reruns with-vfor full diagnostic output, then exits non-zero per the pattern documented inREPO_POLICIES.md.-coverto the non-verbose run per the policy's Go example.-raceflag added in PR #55.make teststill completes well under the 20s budget (30s hard timeout already in place).make checkgreen.