Repository navigation
ci: shard the CICS Crucible PR job (Part of #5498) - #5530
Merged
Merged
Conversation
…ing required check (Part of #5498) cics_crucible.py gains --shard i/N (deterministic partition balanced by case seconds, ledgers cut to the shard's cases) and --merge DIR... (each case in exactly one shard, whole 710-cell report, full ratchet). The workflow runs 4 measure shards and the runner tests in parallel; job `crucible` keeps the required check name and aggregates. 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 18, 2026 20:32
squid-protocol
enabled auto-merge (squash)
October 18, 2026 20:38
Contributor
This was referenced Oct 18, 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 #5498.
Owner decisions
Owner OK (2026-10-18): the cics-crucible.yml matrix/workflow edit is approved (allow_workflows).
What changed
tests/tools/cics_crucible.py:--shard i/N(deterministic partition, greedy byCASE_SECONDSfrom run 39142662150;--ciholds the baseline and coverage ledgers cut to the shard's cases, both directions incl. STALE),--merge DIR...(merges shardresults.json, fails unless every case is in exactly one shard and was measured, writes the whole 710-cellreport.md, holds the full unsharded ratchet). Unsharded runs and--update-baselineare unchanged;--shardis refused with--cases/--update-baseline/port options..github/workflows/cics-crucible.yml:measure(matrix of 4 shards),runner-tests(fixture pytest, once, parallel),crucible(keeps the required check name;always(),needsboth, merges, publishes report, uploadscics-crucible-results, fails if any shard or the runner tests did not succeed).tests/cics_crucible/test_shards_5498.py: partition covers each case exactly once (N=1..8, plus an unlisted case), determinism/balance, cut-ledger verdict equals whole-ledger verdict, merge refusals, workflow N matches--shard.Time (estimate from case times; not yet measured on CI)
Cases: 1215 s total; plan is 312/295/295/313 s per shard. Each shard adds setup (checkout, pip, JDK, Maven cache, image load) of about 2-3 min; runner-tests runs alongside. Expected PR wall time about 8-9 min (was 24.3 median), merge job about 2 min after. Runner-minutes rise from about 24 to about 4 x 8 + 5 (runner-tests) + 2 (merge) = about 39, the price of the parallelism. Replace with measured numbers after the first CI run.
Not verified locally
No Docker daemon on this box, so no cobol-stub measurement: the sharded vs unsharded cell totals are checked by unit tests on the merge/ratchet logic only. The first CI run must show 710 cells and the same pass/fail/unsupported totals as main.
Class
Class: CI jobs that run a long serial measurement. Sibling gaps: none found in this workflow; other jobs (Mainframe Ground Truth, Det Sweep) already shard.
Remaining slices: none. Follow-up when case times drift: refresh
CASE_SECONDS(balance only, never correctness).🤖 Generated with Claude Code