Skip to content

CI: plan Windows 3.12 gate at speed 1.6 (3 parts) (Part of #8701) - #8944

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/8701-windows312-rebalance
Nov 21, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/8701-windows312-rebalance

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Windows 3.12 gate planned at SPEED 1.3 got 2 parts (18.1 min planned) but part 1 measured 25:06 (run 44537857415). Plans it at 1.6 like Windows 3.11, giving 3 parts (about 14.8 min of work plus setup, under the 20 min target). The timeout raise was already done by #8572, so no workflow edit is needed.

Checklist: partial [c:ab1161f2] -- confirm on the next scheduled runs that the 3-part Windows 3.12 legs finish under 20 min (issue's 5-run check)

Class

Class: a LEGS speed factor that under-states a Windows leg's real slowdown, so it gets too few parts. Siblings checked: Windows 3.11 (1.6, measured 21 min), macOS 3.11/3.12 (1.3, measured 16-17 min vs 25 cap): fine.

Cost

One more Windows runner in the nightly Full Suite Gate only (no PR trigger).

Tests

test_suite_shard_plan.py (new: Windows 3.12 plans >=3 parts, planned shard under 20 min), test_shard_split_pinned.py, test_ci_critical_path_split.py: 50 passed. ruff_audit --ci clean.

🤖 Generated with Claude Code

… under 20 min (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 21, 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 21, 2026 22:33
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 21, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 22:50
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 21, 2026 23:09
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8944 @ a823350: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44957362778/job/137014648791
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: b8a594ea514ff44cadb5342986c68b1eac6e22ed
Build Date: 2026-11-11T01:49:01Z
Worker ID: {5e13bbe5-1ece-4133-8946-07a124aa1a73}
Region: southcentralus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
26.04.1
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-26.04
Version: 20261116.202.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261116.202/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261116.202
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: select
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: select)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 1/1 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44957362778/job/137012935028
repro: python -m pytest -q tests/tools/test_suite_shard_plan.py::test_windows_312_is_split_so_its_planned_part_is_under_20_minutes_8701
failing tests: tests/tools/test_suite_shard_plan.py::test_windows_312_is_split_so_its_planned_part_is_under_20_minutes_8701
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
tests/tools/test_suite_shard_plan.py:305: AssertionError
FAILED tests/tools/test_suite_shard_plan.py::test_windows_312_is_split_so_its_planned_part_is_under_20_minutes_8701 - assert 20.11366383608429 < 20
##[error]Process completed with exit code 1.
log tail:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 816526
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 8fc568bbf5ab635a6d1226489e683c7c959d4cf6ededd6c0dc820d88ac37b08a
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 14728589685
Artifact test-times-part-1 has been successfully uploaded! Final size is 816526 bytes. Artifact ID is 14728589685
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44957362778/artifacts/14728589685
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/6ff0fb89-4ed6-4513-9a84-1b4534ce5947' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 21, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 23:22
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd
squid-shepherd Bot merged commit ad3b564 into main Nov 21, 2026
36 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8701-windows312-rebalance branch November 21, 2026 23:58
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

squid-protocol added a commit that referenced this pull request Nov 23, 2026
…cap report (#8701) (#9124)

* Gate caps from measured leg walls, not a hand table; weekly CI cap report (#8701)

The Full Suite Gate's caps came from per-test durations x hand-set speeds, floored by SLOWEST_SEEN_MIN, a table a
person re-typed after each red night (#8944 speed, #8975 pin: bump, fail, bump). suite_shard_plan.py --gate
--history-runs now reads the wall of each (os, python, parts) leg over the latest 10 scheduled runs (the plan job
already had a token): with 3+ observations the measured worst x 1.3 floors the cap, and a leg measured over its target
at n parts is planned with one more part (up to the pool cap) before its cap is raised. A cut leg counts at its cap, so
a killed leg raises its own next cap. History that cannot be read never fails the plan.

ci-cap-report.yml runs the two tight-cap tools (ci_cap_headroom.py, gate_leg_margin.py) weekly; a tight cap is a red
run, which Main Watch turns into an issue the fleet works.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Plan the caps of tri-comparison-audit/-history, graph-accuracy-audit and det-mutation from measured wall time; bound the ctags install that hung

job_cap_plan.py plans a job's timeout-minutes as worst measured wall x 1.3 clamped to [floor, ceiling] and falls back to the
workflow's current literal when history cannot be read (never fails the workflow). A job stopped in a setup step is a
hang, not evidence the work needs longer: both tri-comparison runs stopped at 30 min were 'Install universal-ctags' hung
~29 min (normal job <= 8 min), so their cap goes to 15 and the install is bounded (3 attempts x 180 s under a 12-min step cap,
in tri-comparison-audit, tri-comparison-history and doom-rosetta). det-mutation: the literal 150 was 1.2x its worst real run
(124.7 min); it is now planned (floor 150 so det_mutation.py's 130-min budget still ends the work first). Existing tests that
pinned the old literals are taught to read the planned fallback; the network-inventory doc and the apt line table are updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* tests: register ci-cap-report.yml in gate_controls; make the slow-leg planner test independent of the committed durations

- test_every_workflow_is_a_listed_gate_or_says_why_not: ci-cap-report.yml goes in NOT_GATES with its reason.
- test_a_leg_measured_slow_at_n_parts...: it read the real durations, and in CI's merge with main Windows 3.12 already planned
  4 of 4 parts (GATE_MAX_PARTS), so it could not add a fifth. Now pins the maximum: with room it adds a part; at the maximum it adds none
  and the cap still covers worst x 1.3.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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