Repository navigation
CI planner: CICS Crucible and DOOM-rosetta shard counts and timeouts from measured weights (Part of #5919) - #6050
Merged
Merged
Conversation
…from measured weights (Part of #5919) crucible_shard_plan.py sizes both workflows through ci_shard_plan: the CICS measure matrix, --shard i/N and timeout come from the cases and CASE_SECONDS; the DOOM-rosetta shard count, packing and timeout from the goldens' LOC. Neither workflow types a shard count or a shard timeout any more. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…tay (Part of #5919) 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 22, 2026 19:21
squid-protocol
enabled auto-merge (squash)
October 22, 2026 19:22
This was referenced Oct 22, 2026
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: CICS Crucible and DOOM-rosetta, order step 2).
What
tests/tools/crucible_shard_plan.py(stdlib only; plan jobs run pre-install), built onci_shard_planfrom CI planner: Db2 shard count and shard-job timeouts from measured durations (Part of #5919) #6037:cics_plan/doom_planplus a CLI (--cics DIR,--doom) that emitsmatrix=andtimeout=.CASE_SECONDSmoves into it (cics_crucible.pyimports it).ci_shard_plan.check_measured) the plan fails loudly.cics-crucible.yml(aplanjob;measurematrix,--shard i/Nandtimeout-minutesfrom its outputs;crucibleneedsplan) anddoom-rosetta.yml(replace the inline script andSHARDS: "4"withcrucible_shard_plan.py --doom; shard timeout from the plan; path filters add the two planner modules). The ready diff is5919-slice2-workflows.patchin the handoffs dir; the previous head of this branch (43a5835) has it applied.Calibration (today's inputs reproduce today's counts)
CICS: 43 cases, 1215 s serial -> 2 shards, timeout 20 min (was 30). DOOM: 44 ports, 6.7M LOC -> 4 shards, timeout 20 min (was 30). Setup/throughput constants are estimates (CICS setup 300 s, effective --jobs 2; DOOM 15k LOC/s, setup 420 s), floors at 20 min so a first miscalibration is not a timeout.
Class
Hand-set shard count /
timeout-minutesin sharded PR workflows. Covered here: CICS Crucible, DOOM-rosetta. Not here (other mechanisms): Smoke parts (#5133), Full Suite Gate legs (#5156); and feeding measured per-case seconds back from the shards (CASE_SECONDS is still a committed table).Tests
tests/cics_crucible/test_shards_5498.py: CICS and DOOM growth (balance <= 1.3, cap, busy halving), unmeasured grace and loud failure, case discovery equalscc.discover, real manifest + goldens plan cleanly.Gates:
pr_gates --fast7/7; tree-wide guards,tests/toolsshard/workflow tests, time ratchet (0 over limit); plainpytestfrom another cwd. No parsing logic touched: no golden bless.Cross-repo: none.
🤖 Generated with Claude Code