Skip to content

ci_digest: a job whose upstream failed as infra is an infra knock-on (Part of #5276) - #6535

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5276

Checklist: done [c:230c7e2e] (the infra knock-on item; the stale-base-in-source and cancelled-parent items stay open)

What

tests/tools/ci_digest.py: a job that depends on an infra-failed job and shows no failing test or case now triages infra, not real.

  • UPSTREAM maps dependents (shard/db2, ground-truth part, full-suite part, durations key) to the jobs they needs (plan, tested-tree, ground-truth-warm, suite-plan); knock_on_kind applies it after the roll-up step.
  • PARTS widened to every job each roll-up needs (adds tested-tree, suite-plan, plan, ground-truth-warm, detmut), so an infra plan/warm-up/detmut carries the roll-up too.
  • A failing test or det case beside an infra upstream stays real.

Class / Sibling gaps

Class: jobs that fail only because a job they needs died as infra, triaged real by ci_digest. Members covered: det shards/db2 (needs plan), ground-truth parts (needs tested-tree/plan/warm), full-suite parts and durations key (needs tested-tree/suite-plan), and the three roll-ups' other needs. Sibling gaps: the compile jobs (ports-compile.yml, java-compile.yml) have no needs on these workflows, so there is no upstream to read; the check-runs API has no needs, so UPSTREAM stays hand-mirrored (pinned by a test that reads the workflows). Stale-base-in-source and cancelled-parent items remain open on #5276. No burned-estate program involved.

Tests

tests/tools/test_ci_digest.py: knock-on test (infra and startup_failure upstream; real when a test fails), UPSTREAM-vs-workflow needs test, ROLLUP_PARTS extended. pr_gates --fast 7/7. tests/tools/ plus tree-wide guards: 2611 passed; test_pin_requirements_check_all fails (ci/requirements out of sync, files untouched here, not re-tested on main).

🤖 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 20:01
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 20:04
@squid-protocol
squid-protocol merged commit 5c65954 into main Oct 24, 2026
58 checks passed
@squid-protocol
squid-protocol deleted the churn/5276-20261024T1940Z branch October 24, 2026 20:25
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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