Repository navigation
Retry a PR run whose failing jobs GitHub never ran - #124479
Merged
alexey-milovidov merged 2 commits intoOct 11, 2026
Merged
alexey-milovidov merged 2 commits into
alexey-milovidov merged 2 commits into
Conversation
When GitHub queues jobs and never gives them a runner, the run concludes
`failure` while no listed job concluded `failure`: the jobs either vanish
from the run's job listing ("abandoned") or stay listed as queued with
`conclusion: null`. praktika scores them DROPPED, so `Mergeable Check` is
red with `Failed: 0, Dropped: N`, but the empty-verdict branch treated
"no failed job" as "nothing to retry", so the run stayed red until the
next push.
Rerun when the listing is non-empty and every listed job is `success`,
`skipped`, `neutral` or `null`. A listed `timed_out`, `cancelled` or
`action_required` job, or an empty listing, keeps the old outcome.
Replayed over the 261 failed PR runs created 2026-10-06 12:55Z to
2026-10-07 17:36Z: only the 9 runs in this shape change decision (e.g.
37627725265, skipped by the 17:50Z and 18:55Z ticks).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (4 nits, none blocking).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261007-195400 |
Collaborator
Author
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-7:20261007-192300 |
Contributor
|
Workflow [PR], commit [da5f026] Summary: ✅ AI ReviewSummaryThis PR teaches Final Verdict
|
The empty-verdict branch classifies `runs/<id>/jobs`, which lists the latest attempt, while the `failure` status comes from the run listing made at the start of the tick. The jobs predicate is also true for any green run, so a run that a human or `clickhouse-gh[bot]` reran after the listing and that went green before the loop reached it would be rerun again, spending one of MAX_RERUNS. The window is real: the partition walk takes ~5.5 min (tick 37685019106: listing 20:50:09Z, first classification 20:55:46Z), and green rerun attempts as short as 121 s were measured. Require the run to still be at the listed attempt and concluded `failure` before taking that branch. The probe runs only when the jobs predicate already holds; a failed probe skips the rerun. Replay over the same 261 failed runs is decision-identical when the listed attempt is still the failed one, and the probe fires only on the 9 runs in the dropped-jobs shape. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 7, 2026
alexey-milovidov
approved these changes
Oct 11, 2026
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.
Related: #115569
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
When GitHub queues PR jobs and never gives them a runner, as in the 2026-10-07 Actions outage, the run concludes
failurebut no listed job does: the jobs either vanish from the run's job listing or stay listed asqueuedwithconclusion: null. praktika scores them DROPPED, soMergeable Checkis red with no test signal, e.g. runs 37627725265 (#121522) and 37633013469 (#123293), bothFailed: 0, Dropped: 3, and 37620918397 (#123798,Failed: 0, Dropped: 85).retry_infra_failures.ymlbuilds its verdicts only from jobs that concludedfailureand treats an empty list as "nothing to retry", so it skips these runs: the 17:50Z and 18:55Z ticks both loggedNot an infrastructure failure, skipping.for 37627725265. The PR stays red until the next push.The empty-verdict branch now reruns when the listing is non-empty and every listed job is
success,skipped,neutralornull. A listedtimed_out,cancelledoraction_requiredjob, or an empty listing, keeps the old outcome. Same class as #115569.Validation: the classification block, extracted from the file before and after, was replayed over the job listings of all 261 failed PR runs created between 2026-10-06 12:55Z and 2026-10-07 17:36Z. Only the 9 runs in this shape change decision; the other 252 are unchanged. The old side matches every decision in the two real tick logs.
Workflow [PR]
Sync PR [sync-upstream/pr/124479]
Version info
26.10.1.2163-master(included in26.10and later)