Skip to content

Gate: gate_leg_margin.py checks Windows leg step wall vs cap over scheduled runs (Part of #8701) - #8981

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

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8701-20261122T0438Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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 the Full 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.py skips 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: run python 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

  • Windows 3.12 part 2 of run 44906605305 failed with ModuleNotFoundError: tzdata (not a timeout; unconfirmed cause: Windows install step vs ci/requirements/*.txt). No burned-estate program needs it (infra).
  • Windows 3.11 legs' failures in that run not investigated.

Gates

ruff check/format, audit_check.py all clear, test passes from an unrelated cwd (7 tests).

🤖 Generated with Claude Code

…its cap over scheduled runs (Part of #8701)

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 04:50
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 04:58
@squid-shepherd
squid-shepherd Bot merged commit 76b45de into main Nov 22, 2026
57 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8701-20261122T0438Z branch November 22, 2026 05:25
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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