Repository navigation
CI critical path: full-suite parts balanced by least_duration, durations refreshed (Part of #5133, #5162) - #5223
Conversation
…ons refreshed (Part of #5133, #5162) Main run 38835555699 had part 1 at 11.9 min vs 4.8 / 3.5. pytest-split's default duration_based_chunks cuts contiguous slices, and .test_durations lacked 4014 of 21385 tests (1707 in cobol_mainframe) so they weighed 0.2 s each. Replayed against the run's real per-test seconds: old split 2534/857/558 s, least_duration on the stale file 1338/1290/1322, on the refreshed file 1317 each. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…from source, 15.1 s test baselined (Part of #5133) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5223 @ dc057c0: 2 failed check(s) == Muninn (failure) -- real == muninn (failure) -- infra |
…ate-key), make the PL/I linear test cheaper (Part of #5133) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #5133, #5162. Items 1 and 2 of #5133/#5162 (deltas job, ground-truth split, duplicate evidence_components,
_match) already merged in #5151 / #5163; this is the remaining "durations weight" box.Changes
smoke-test.yml: the full-suite step passes--splitting-algorithm least_duration..test_durations: refreshed from run 38835555699'stest-times-part-*artifacts (21384 tests). Two entries over the 15 s unmarked limit (a slow-marked 64.6 s, a 15.1 s) are capped at 14.9 s becausepr_gates --ratchetsreads the file without slow marks.tests/tools/test_ci_critical_path_split.py: pins the algorithm.docs/ci.md: section "Full-suite parts balanced by least_duration".Cause (differs from the plan's hypothesis in one respect)
Main run 38835555699: part 1 11.9 min, part 2 4.8, part 3 3.5. The default
duration_based_chunkscuts contiguous slices, and the committed durations had no entry for 4014 of 21385 tests (1707 incobol_mainframe), each weighed 0.2 s. Algorithm alone is not the whole fix: replaying each split against that run's real per-test seconds gives:Critical path
Before (measured):
full-suite11.9 min, set by part 1. After: not measured yet (draft PRs skip heavy CI); expected about 6.5 min by the replay (11.9 x 1317/2534 of the test time, setup unchanged). Needsgh workflow run smoke-test.yml --ref churn/5133-20261016T0715Zfor the real number.Gates
pr_gates --fast6/6;pr_gates --ratchets --only-ratchets timepass;test_ci_critical_path_split.py,test_merge_test_durations.pypass.Sibling gaps
full-suite-gate.ymlstill runstest_evidence_components.pyon every OS x Python leg.-n autocontended seconds (not wall-calibrated); the weights only order tests, so a uniform factor does not change the split. Nightlies have been cancelled lately, so the cache may be stale; a stale cache would reintroduce unrecorded tests.rebuilt()callers rebuild all estates per test.Lessons for agents
.test_durationsskews parts badly. Replay a split offline: collect ids, weigh with atest-times-part-*artifact.pr_gates --ratchetsreads.test_durationswithout slow marks: cap slow-marked entries below 15 s.Cross-repo
None.
🤖 Generated with Claude Code