Repository navigation
Gate controls: a gate with no fixture fails by name, and a proof must be a real, unskipped test (Part of #7155) - #9000
Merged
Conversation
… be a real, unskipped test (Part of #7155) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
8 of 17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 adef 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()intest_gate_controls.py: a non-notice gate with no proof and noUNPROVENentry fails by name; a stale or reasonlessUNPROVENentry fails; a proof must be an AST-resolvedtest_*function with no unconditional skip/xfail/skipif(True)and no module-level skip (conditionalskipifstays allowed).MAX_UNPROVENcount 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
UNPROVENentry; proof not atest_*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_UNPROVENis now redundant withUNPROVENand can be dropped after #8997 merges.Lessons for agents
None.
🤖 Generated with Claude Code