Skip to content

Gate controls: a gate with no fixture fails by name, and a proof must be a real, unskipped test (Part of #7155) - #9000

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7155-20261122T0700Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7155-20261122T0700Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

Step 1 of #7155, last item: a check that fails when a gate has no fixture.

Before, the only guard was a count ratchet (MAX_UNPROVEN), so one gate could lose its proof while another gained one with the count unchanged, a failure named no gate, and a proof only had to be a def name( substring (a helper, or an always-skipped test, passed).

  • gate_controls.UNPROVEN: the gates with no fixture yet (Muninn, db2, full-suite-matrix, equivalence-e2e), each with a reason.
  • gate_fixture_problems() in test_gate_controls.py: a non-notice gate with no proof and no UNPROVEN entry fails by name; a stale or reasonless UNPROVEN entry fails; a proof must be an AST-resolved test_* function with no unconditional skip/xfail/skipif(True) and no module-level skip (conditional skipif stays allowed).
  • Controls for the check itself: parametrised cases that make it go red on each of those defects, plus a passing conditional-skip case.
  • The MAX_UNPROVEN count test is left untouched (PR test_gate_controls: a count below MAX_UNPROVEN warns instead of failing (main red, #8995) #8997 edits it), so this adds no conflict there.

Checklist: done [c:ec5962b4]

Class / Sibling gaps

Class: a gate lacking a failure fixture, or naming a proof that is not a real, run-able test, with no named check failing. Members covered here: no fixture and not listed; stale/reasonless UNPROVEN entry; proof not a test_* function; unconditional skip/xfail; module-level skip. Sibling gaps: a proof that is collected but never asserts a red result (needs a human read, not an AST rule); the weekly canary PR (#7155 part 2) tests the workflow around each gate; MAX_UNPROVEN is now redundant with UNPROVEN and can be dropped after #8997 merges.

Lessons for agents

None.

🤖 Generated with Claude Code

… be a real, unskipped test (Part of #7155)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 22, 2026 07:06
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 07:07
@squid-shepherd
squid-shepherd Bot merged commit 90a6206 into main Nov 22, 2026
57 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7155-20261122T0700Z branch November 22, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant