Repository navigation
CI: wall-calibrated nightly full-suite durations (Part of #5133) - #6170
Merged
Merged
Conversation
…art of #5133) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 05:59
squid-protocol
enabled auto-merge (squash)
October 23, 2026 06:01
Owner
Author
|
No description provided. |
Contributor
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 #5133 (slice 2: wall-calibrated
.test_durationsrecording in the smoke-test.yml nightly recorder).Design: the nightly parts record their pytest-step wall seconds and scale their
--store-durationsfile to sum to it before the merge job;merge_test_durations.pyis unchanged and PR runs are unchanged (schedule-only step).Class
Nightly per-test seconds recorded under
-n autocontention are not wall time, soleast_durationbalances the full-suite parts by the wrong weights.calibrate_test_durations.py+ workflow step,test_calibrate_test_durations.pymerge_test_durations.pyinput shapefull-suite-gate.ymlshards.test_durations, no recordertest-times-*artifacts.test_durationsby handGITGALAXY_TEST_TIMESsecondsSibling gaps
None needs a burned-estate program.
full-suite-gate.ymlshards: partial. Different workflow with no nightly recorder, so it would double the PR; source.github/workflows/full-suite-gate.yml:193.test-times-*artifacts: manual merge. Needs its own recorder job inmainframe-ground-truth.yml; sourcedocs/ci.md(Mainframe Ground Truth: stop paying the 3-4 min warm-up per part; ~11 min PR check, now the slowest #5543 section).tests/tools/time_ratchet.py.Before / after
Before (docs/ci.md, 8 main push runs 2026-10-22): parts 4.6 / 4.8 / 4.3 min mean; per-run max/min 1.24-1.77; 0 of 8 within 1.2.
After: not measured. The nightlies of 2026-10-20..22 were all cancelled, so no calibrated cache exists. Re-measure on the main push runs after the first completed nightly; the 20% acceptance is not claimed and #5133 stays open.
Tests and gates
New
tests/tools/test_calibrate_test_durations.py(scaling, refusals, both file shapes, merge compatibility, workflow step order and file names); merge, critical-path and full-suite-gate workflow tests pass (49); plainpytestfrom/tmppasses;audit_check.pyclear;pr_gates.py --fast7/7.actionlintnot installed here.Cross-repo
None.
docs/ci.mdis also touched by PR #6155 (three lines changed here); whichever merges second rebases.Lessons for agents
🤖 Generated with Claude Code