Repository navigation
Gate: gate_leg_margin.py checks Windows leg step wall vs cap over scheduled runs (Part of #8701) - #8981
Merged
Conversation
…its cap over scheduled runs (Part of #8701) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
2 of 3 tasks
Contributor
|
No description provided. |
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
Adds
tests/tools/gate_leg_margin.py(+ offline test): reads the latest scheduled Full Suite Gate runs, parses each leg name (os, py, part, splits[, even], timeout, step_timeout), takes theFull Suite (...)step wall, and reports per Windows leg the tightest margin to its own run's step cap. Exit 1 when any leg is within--min-margin(3) minutes of its cap, or when fewer than--runs(5) scheduled runs were sampled.ci_cap_headroom.pyskips planner-written caps, so it never measured these legs.Measured now
--since 2026-11-20 --runs 1(the only scheduled run since #8975, 44906605305): Windows 3.11 parts margin 9.8 / 12.2 / 14.1 min; 3.12 parts 10.9 / 11.3 min. Without--since, the last 5 scheduled runs (pre-fix plans) show 3.12 at -0.1 and 0.1 min: the original failure. The 5-run confirmation needs 4 more nightlies on the new plan: runpython tests/tools/gate_leg_margin.py --since 2026-11-21.Checklist: partial [c:402def82] -- needs 5 scheduled runs on the post-#8975 plan (1 so far); rerun the tool, it exits 0 when confirmed
Class
Planner-written job caps with no margin measurement. Same mechanism: macOS/ubuntu legs, covered by
--os "".Sibling gaps
ModuleNotFoundError: tzdata(not a timeout; unconfirmed cause: Windows install step vsci/requirements/*.txt). No burned-estate program needs it (infra).Gates
ruff check/format,
audit_check.pyall clear, test passes from an unrelated cwd (7 tests).🤖 Generated with Claude Code