Skip to content

ci_digest: test that every PARTS pattern still matches a workflow job (Part of #5276) - #6346

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5276-20261024T0329Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5276-20261024T0329Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Part of #5276. Checklist: partial [c:6e6fc2fd] -- done: the PARTS workflow-mirror test. Left: db2 knock-on to plan/compile, widening stale-base, cancelled-parent roll-up.

Adds two tests to tests/tools/test_ci_digest.py: each PARTS roll-up (full-suite, ground-truth, det) must be a job in its workflow (smoke-test.yml, mainframe-ground-truth.yml, det-sweep.yml), and each PARTS regex must match at least one job name rendered from that workflow (${{ matrix.* }} expanded). A renamed job now fails a test rather than silently falling back to the old triage. No engine or workflow change.

Class / Sibling gaps

Class: non-real CI reds that ci_digest triages real. This PR covers the hand-mirrored PARTS job names (all three roll-ups, both the roll-up job and the part patterns).
Sibling gaps (not here, each a different mechanism in rollup_kind/triage, no issues filed):

  • a db2 infra failure knocking out plan/compile still reads real (needs a dependency map beyond PARTS);
  • stale base where main's fix was in source only (policy decision: risk of reading real breakage as main);
  • a roll-up with no failed part job (cancelled parent) unchanged.

Remaining slices: the three items above, in that order.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 03:56
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 04:01
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 8437f15 into main Oct 24, 2026
48 checks passed
@squid-protocol
squid-protocol deleted the churn/5276-20261024T0329Z branch October 24, 2026 04:15
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…art of #5276) (#6408)

The exact-match test from #5522 already covers every PARTS pattern; the
at-least-one-match copy added by #6346 redefined WORKFLOWS and added a second job-name renderer.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant