Skip to content

CI: OS-leg headroom, no false-red cancelled main runs, actionlint gate, bg-job helper - #5776

Merged
squid-protocol merged 3 commits into
mainfrom
ci/fleet-tuning-2026-10-20
Oct 20, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
ci/fleet-tuning-2026-10-20

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

From the 2026-10-20 fleet/CI review (owner asked for these items).

Change

  • full-suite-gate.yml: windows 3.11 runs as 3 parts at cap 27 (as 2 parts it took 22-25 min of a 33-min cap, the main is red: Full Suite Gate (All OS x Python) #5764 red). macOS caps go from 22 to 26 (parts measured up to 16.7 min). The headroom test's table now uses measured or estimated per-part minutes (macOS 3.12 was listed as 11; today it took 16.7).
  • smoke-test.yml: when the next main push cancels a run, full-suite is skipped instead of failed (40 false-red full-suite jobs on main today). PR runs are unchanged: a cancelled PR head still fails the required check.
  • pr_gates.py: a new workflows gate, included in --fast, so churn's precheck runs it. It runs actionlint 1.7.12 (actionlint-py==1.7.12.25, MIT) from a private venv, the same way ruff and mypy are pinned. It reports the full-suite-gate: windows 3.11 cap 33 min, step timeout keeps the log of a stall (Part of #5764) #5766 ${{ x - 3 }} bug by line. Current main has 0 findings, and the shellcheck/pyflakes integrations are off. If the venv can't be built (offline), the gate prints a NOTE and passes.
  • tests/tools/box/bg-job.sh (start NAME -- cmd, wait NAME [secs], status NAME): start a long job and wait on it by name from a later call. It replaces the pgrep -f and until grep log loops that caused 2 of today's 4 refused worker calls. The worker brief points at it (16,105 bytes, under the 16 KiB budget).

Tests

  • tests/tools/test_pr_gates_fleet.py: the gate catches arithmetic in an expression, and passes with a NOTE when actionlint can't be installed.
  • test_box_tools.py: start, then wait with a 0 s cap (124, still running), then wait (the job's exit code and log tail).
  • Matrix tests still pass: shard completeness, grid equality, step_timeout = timeout - 3, headroom ≥ 1.3×.
  • test_pipeline_pins brew line moved from 165 to 169.

Left open

  • Det Sweep: its plan already skips unchanged inputs (modes none/narrow/ports). Today's ~3,000 runner-min came from about 25 full sweeps, each forced by a harness edit (equivalence_cics.py, cics/ggcics.c, equivalence*.py). Narrowing those to case classes saves little (124 of 146 cases are CICS) and loosens "when in doubt, full", so it isn't done here.
  • Windows 3.11 three-part times are estimates. Re-measure after a few gate runs.

Cross-repo

None.

🤖 Generated with Claude Code

…w lint gate, bg-job helper

From the 2026-10-20 fleet review:
- full-suite-gate: windows 3.11 runs in 3 parts (2 parts took 22-25 min of a
  33-min cap, #5764); macOS caps 22 -> 26 (parts up to 16.7 min). Headroom
  table updated (macOS 3.12 was 11, measured 16.7).
- smoke-test: a main push cancelled by the next push skips `full-suite`
  instead of failing it (40 false-red jobs on main today). PR runs unchanged:
  a cancelled PR head still fails the required check.
- pr_gates: `workflows` gate (in --fast, so churn's precheck runs it):
  actionlint 1.7.12 pinned in a private venv. It names the #5766 expression
  bug that left main with no Full Suite Gate job until #5768.
- tests/tools/box/bg-job.sh: start a long job by name, wait on it from a
  later call; replaces the pgrep / until-grep wait loops that were refused
  (2 of 4 worker denials today). Worker brief points at it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Comment thread tests/tools/pr_gates.py
Comment on lines +454 to +455
"workflows": [[PY, "-c", "import sys; sys.path.insert(0, 'tests/tools'); from pr_gates import actionlint_gate; "
"sys.exit(actionlint_gate())"]],
squid-protocol and others added 2 commits October 20, 2026 17:15
…rror is a skip, not a crash

Full Suite Gate run 39495645488: the gate's test failed on both Windows legs
(WinError 2: venv/bin/python does not exist there). Everything else passed;
windows 3.11 parts took 9.6-12.7 min of the new 27-min cap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t builds the pinned venv)

Gate run 39498902123: every Windows and macOS leg passed; the per-test time
ratchet on ubuntu 3.11 part 2 flagged this test (no slow reason).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol
squid-protocol merged commit 35889bc into main Oct 20, 2026
30 checks passed
@squid-protocol
squid-protocol deleted the ci/fleet-tuning-2026-10-20 branch October 20, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants