Repository navigation
Suite shard plan: pin the planned balance of Smoke parts and Gate legs (Part of #5919) - #8553
Merged
Merged
Conversation
…s (Part of #5919) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
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 #5919 (slice 2 of 4, filler work).
What changed
tests/tools/test_suite_shard_plan.py: two tests pin the planned balance (slowest/fastest part wall, with and without the fixed setup term) of the Smoke parts and of every Full Suite Gate leg, from the committed.test_durations, at <= 1.3.Finding: the plan is not the source of the measured excess
The 2026-11-16 calibration (issue comment 6938301265) measured Smoke 1.46 and Gate 1.45/1.72/1.97 against the 1.3 limit.
suite_shard_plan.pyalready carries the fixed-cost term (SMOKE_SETUP_S,GATE_SETUP_S, paid per part) andleast_durationover the committed durations plans ~1.00 for every part (checked: 23581 tests, 2808 s, 1..6 parts all within 1e-6). Recent Smoke runs show the same plan giving pytest-step times of 274 / 369 / 447 s (run 44015375629) and 261 / 264 / 285 s (run 44010974345): same plan, 1.0-1.6 spread. So the excess is runner/contention noise and tests the durations file does not know, which re-sizing cannot remove. No planner change is made; the tests pin that the model stays balanced, so a regression in it is caught.Class / Sibling gaps
Class: sharded workflows whose measured slowest/fastest shard ratio exceeds 1.3 (calibration table). Members: Smoke parts (plan balanced; excess is measurement noise, this PR pins the plan); Full Suite Gate ubuntu / windows / macos legs (same, pinned); Det Sweep non-Db2 (2.19), CICS Crucible (1.35), DOOM-rosetta (1.37), Evidence Refresh records / sweep / db2 (1.85 / 1.82 / 1.34): not touched here, different planners. Real next lever for Smoke/Gate: per-part test-phase seconds (setup split out) in the step summary, to tell noise from imbalance (needs a workflow edit). Source: the calibration comment.
Remaining slices
det_sweep_timing.py,ci_digest.py, a test, a workflow edit).crucible_shard_plan.pybalance for CICS Crucible / DOOM-rosetta from measured durations.Gates
pytest tests/tools/test_suite_shard_plan.py: 19 passed.ruff formatclean on the file. Not run:pr_gates --fast/--ratchets(test-only change).Lessons for agents
None.
🤖 Generated with Claude Code