Repository navigation
Gate: gate_leg_margin counts only measured legs (Part of #8701) - #8983
Merged
Merged
Conversation
…d or were cut at the cap (Part of #8701) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
2 of 3 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.
Part of #8701.
Checklist: partial [c:402def82] -- needs 5 scheduled runs after 2026-11-22T04:32Z (#8975 merge); rerun
python tests/tools/gate_leg_margin.py --since 2026-11-22, it exits 0 when confirmed.What
gate_leg_margin.pycounted every completed leg as an observation. A leg that failed early (the 2026-11-21 tzdataModuleNotFoundError), never reached theFull Suitestep, or was cancelled has a short wall that says nothing about margin, yet counted toward the 5 runs required: the check could go green falsely. Now a leg is an observation only when itsFull Suitestep succeeded or ended within 60 s of its cap (cut by it);--runscounts runs with at least one measured leg.Facts checked: live run before this change sampled 5 runs; after it, 3 of 5 are measured (UNCONFIRMED). The remaining TIGHT rows are pre-#8975 data.
Class
Class: a margin check treating non-measuring legs as measurements. Siblings: early-failed legs, cancelled runs, legs with no step (all covered here, with tests).
Sibling gaps
ModuleNotFoundErroron 2026-11-21 (cause unconfirmed; 3.11 legs unchecked). No burned-estate program involved.Tests/gates
tests/tools/test_gate_leg_margin.py(9 pass), ruff check/format,audit_check.pyall clear.🤖 Generated with Claude Code