You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run the Whole Test Suite Before a Push, Not the Modules a Change Touches #2280
On #2278 the local run covered tests.test_pr_review and tests.test_local_review, the two modules the change touched, and both passed. CI's unit test job then failed in tests/test_tooling_encoding.py. That test walks every text-mode subprocess.run in the tree and requires each one to name its encoding, and a new test in test_pr_review.py did not. A full python3 -m unittest discover -s tests run would have caught it before the push. Instead it cost a fix push and a Copilot round.
Why It Recurs
GOVERNANCE.md "Verification Discipline" requires the whole lint gate before every push, "not the parts that look relevant", because CI runs all of it. Nothing states the same for tests. This repository carries suite-wide meta-tests (tooling encoding, the write-command partition, carried-content contracts) that judge any file, so a change can fail a test module it never touched.
Proposal
Extend that bullet, or add one beside it, to cover tests: run the repository's whole test suite before every push, in the invocation CI uses, for the reason the lint bullet already gives.
Maintainer answer (backlog-burndown run, 2026-11-01): approved. Run the whole test suite before a push, the same way the lint gate already runs in full. This issue is ordinary work now.
Activity
ptr727 commentedon Nov 1, 2026
Maintainer answer (backlog-burndown run, 2026-11-01): approved. Run the whole test suite before a push, the same way the lint gate already runs in full. This issue is ordinary work now.
ptr727 commentedon Nov 23, 2026
Backlog burndown claim (round 5, 2026-11-23): branch
burndown/merge-gate-and-test-suite-rules.Predicted files: GOVERNANCE.md, .agents/skills/pr-review-conduct/SKILL.md (plus build_dist-generated include regions).
Group issues: #2280 #1298 #3820.
Require the Whole Test Suite Before a Push, Say the Husky Hook Passes…