Skip to content

ci_digest: a cancelled shard makes equivalence-e2e / crucible a rerun, not a real failure (#6919) - #6959

Merged
squid-protocol merged 2 commits into
mainfrom
shepherd-cancelled-rollups
Oct 29, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
shepherd-cancelled-rollups

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Follow-up to #6919 / #6920. Once ci-gate started holding merges on any red check, a cancelled shard began reading as a real failure. On #6951 the summary job equivalence-e2e was triaged real while its cancelled db2 and shard 3/3 were infra, so ci-gate showed failure and the shepherd never reran it.

Checklist: the cancelled-run triage gap found on #6951 (#6919 follow-up).

Change

  • ci_digest.PARTS gains equivalence-e2e (shard N/M, db2, plan, tested-tree) and crucible (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 and ci-gate stays pending instead of failing.
  • A new test covers the whole class: any pull_request job that summarises a matrix job and runs after a failure must be in PARTS, or listed in NOT_ROLLUPS with a reason (three jobs that gate nothing). The pattern test is extended to the two new entries.

Verification

Part names shared across workflows (shard N/M, plan) can only keep a summary real when 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-audit and the others, each depending only on plan) take a cancelled plan as their own failure. UPSTREAM's knock-on rule could cover them; not seen yet.

Part of #6919

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 28, 2026 19:32
…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]>
@squid-protocol
squid-protocol merged commit 809112a into main Oct 29, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the shepherd-cancelled-rollups branch October 29, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant