You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci_digest triage: time-ratchet-only reds, infra knock-ons and stale-base main reds read as real #5273
Churn's fix-loop analysis (2026-10-14..16: 106 fix runs, 20.9 worker-h, $186) found three triage gaps in tests/tools/ci_digest.py that send a Claude worker to a red with nothing to fix. churn's gate skips workers only for checks ci_triage calls noise (infra / flake / main), so each gap below costs a worker run.
Time-ratchet overage is triaged real (18 runs, 4.9 h, ~$13). When the only failing step is time_ratchet.py check and zero tests failed, triage() has no failed test to look up in FLAKY (empty on purpose) and returns real. The roll-up full-suite check is real too. Examples: 5079-20261015T1351Z (a rerun went green), 4803-20261015T1441Z ("runner timing flake"), and the 5176-20261015T0451Z / 0521Z / 0551Z chain.
Classify it as flake when the over-limit tests are outside the PR diff, or are under 1.5x their limit. Otherwise real.
Triage the roll-up checks (full-suite, ground-truth) by their part jobs.
Knock-on failures of an infra job are real. After a Db2 image-pull failure, det fails with "shard did not report", but only the db2 job's log carries the INFRASTRUCTURE marker. Mark a check infra when a job it depends on failed as infra. Examples: 5089-20261015T2217Z, 5119-20261015T1831Z, 5094-20261014T1631Z.
A main red that is already fixed reads as real.main_failures compares only against main's newest commit. Once main is fixed (tests: det-sweep balance test follows merge_sweeps accepting an identical repeat (Fixes #5143) #5149), a PR branched while main was red still fails with the same tests, and all it needs is git merge origin/main. When the failing tests' files changed on origin/main since the PR's merge-base, return main (stale base) so the shepherd can merge main with no model. Examples: 5134-20261014T1831Z, 5135-20261014T1831Z, 5137-20261014T1940Z.
Acceptance: unit tests in tests/tools/test_ci_digest*.py for each case (a ratchet-only failure inside and outside the diff, an infra knock-on, a stale-base main red), and no change to how real failures are triaged.
PR #5275 covers all three gaps (ratchet-only reds, infra knock-ons and roll-ups, stale-base main reds) with unit tests for each case, and real failures still triage real. Remaining items (PARTS job-name mirroring, source-only main fixes) are sibling gaps outside this issue's acceptance.
Activity
squid-protocol commentedon Oct 16, 2026
Siblings: #5276 (remaining members of the class after PR #5275).
ci_digest: triage time-ratchet-only reds, infra knock-ons, roll-ups a…
squid-protocol commentedon Oct 16, 2026
PR #5275 covers all three gaps (ratchet-only reds, infra knock-ons and roll-ups, stale-base main reds) with unit tests for each case, and real failures still triage real. Remaining items (PARTS job-name mirroring, source-only main fixes) are sibling gaps outside this issue's acceptance.