Skip to content

Run the Whole Test Suite Before a Push, Not the Modules a Change Touches #2280

Done

Description

@ptr727

What Happened

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.

Activity

  1. added
    gate
    on Oct 2, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    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.

  3. ptr727 commented on Nov 23, 2026

    @ptr727
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions