Repository navigation
ci_digest: a cancelled shard makes equivalence-e2e / crucible a rerun, not a real failure (#6919) - #6959
Merged
Conversation
…iage (#6919) Since ci-gate holds a merge on any red check, a roll-up missing from PARTS turned a cancelled shard into a real failure: #6951's equivalence-e2e read `real` while its cancelled db2 and shard 3/3 read `infra`. PARTS gains equivalence-e2e (shard N/M, db2, plan, tested-tree) and crucible (measure (shard N/M), runner-tests, plan); a new test fails when any pull_request job that summarises a matrix job is missing from PARTS (three non-gating writers are listed as exempt). Checked against #6951 live: main triages equivalence-e2e `real`, this branch `infra`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… test (change classifier reach) The change classifier and the ground-truth planner read paths in source as reach: a test file named in ci_digest.py made the planner run test_ci_digest for ground-truth, and docs/ci.md named in the test made it a reader of that doc. pr_gates --fast: 9/9. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Follow-up to #6919 / #6920. Once
ci-gatestarted holding merges on any red check, a cancelled shard began reading as a real failure. On #6951 the summary jobequivalence-e2ewas triagedrealwhile its cancelleddb2andshard 3/3wereinfra, soci-gateshowed failure and the shepherd never reran it.Checklist: the cancelled-run triage gap found on #6951 (#6919 follow-up).
Change
ci_digest.PARTSgainsequivalence-e2e(shard N/M,db2,plan,tested-tree) andcrucible(measure (shard N/M),runner-tests,plan). A summary job whose failed parts are all infra/flake/main now takes their triage (ci_digest triage: time-ratchet-only reds, infra knock-ons and stale-base main reds read as real #5273's rule), so the shepherd reruns it andci-gatestays pending instead of failing.pull_requestjob that summarises a matrix job and runs after a failure must be inPARTS, or listed inNOT_ROLLUPSwith a reason (three jobs that gate nothing). The pattern test is extended to the two new entries.Verification
ci_digesttriagesequivalence-e2easreal; this branch triages it asinfra.db2failure next to a cancelled shard keeps the summaryreal.pr_gates.py --fast: 9/9 pass. ci_digest, shepherd and pr_check tests: 214 pass.Part names shared across workflows (
shard N/M,plan) can only keep a summaryrealwhen one of them really failed, which is the safe side.Class / Sibling gaps
Class: summary jobs that only report their parts' result. Covered: every summary over a matrix job in a PR workflow (now enforced by the test). Gap: the audit summaries (
call-graph-accuracy-auditand the others, each depending only onplan) take a cancelledplanas their own failure.UPSTREAM's knock-on rule could cover them; not seen yet.Part of #6919
🤖 Generated with Claude Code