script/test doesn't follow the REPO_POLICIES conditional-verbose-rerun pattern (always runs -v) #59
Reference in New Issue
Block a user
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?
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.