Repository navigation
Description
Problem (P2)
The owner (relayed by GitHub Support, 2026-10-19): "how resilient are our automations ... if there are GitHub outages? ... we don't want to plug their system with rechecks, like an exponential retry ... Ideally, I wouldn't have to come in here and ... say, 'go requeue all of this stuff because there was an outage.'"
During today's Actions/Webhooks incident (githubstatus, created 15:49:25Z) PR CI jobs ended cancelled/timed_out/startup_failure, merge_group entries were ejected, and lane triggers arrived late or not at all. Recovery was by hand: re-run CI on #7892 #7914 #7922 #7951 #8143 #8152, re-enqueue #8225 #8031 #8223, tell sessions to resume.
Proposal (smallest first)
- Reconciler (build first). A scheduled job finds items whose newest run ended cancelled, timed_out or startup_failure with no newer run on the same head (PR CI sets, lane dispatches, merge_group ejections of PRs still ready) and re-fires each exactly once with a fresh event (a marker per item+head makes it idempotent), in lifecycle order (merge-critical first), paced (at most ~3 PR CI sets in flight; ≥1 s between mutating calls per GitHub's REST best practices). It skips while githubstatus.com/api/v2/components.json shows Actions not operational, so it never adds load mid-incident. Subsumes pr-pipeline: re-fire PR-lane runs lost to a broker 5xx or token 403 #8446 (re-fire runs lost to a broker 5xx / token 403).
- Scheduled dispatch so lost webhooks are covered: pr-pipeline: unblock lane PRs when main is quiet #8447 (pr-unblock-dispatch on a schedule); pr-merge already has a cron.
- Retry hygiene: API callers honor retry-after / x-ratelimit-reset, retry once with jitter, never exponential.
- Degraded flag (only if 1-3 are not enough): a shared flag that pauses new dispatches and admissions during an incident. Deferred: queued runs survive an incident, and the reconciler handles what ends badly, so the flag adds a moving part without a measured need yet.
Demotion is unchanged (owner, 2026-10-19): incident failures still count red and the owner closes the record.
Related
#8446, #8447, #8445; GitHub Support limits dashboard.
🤖 Generated with Claude Code
Activity
kyle-sexton commentedon Oct 19, 2026
Trigger for step 4 (GitHub Support, agreed): without the degraded flag, new work (admissions, scheduled dispatches) still starts during an incident; today sessions held it by hand. Build step 4 if a later incident shows new-work dispatch extending the backlog beyond what the reconciler absorbs, measured on the limits panel as queued vs in-progress jobs.
github-actions commentedon Oct 19, 2026
Thanks for the report. Automated triage handed this issue to a maintainer.
Proposed work class: work-class: structural
Basis: automated intake triage; a maintainer confirms or changes it.
Automated triage. A maintainer reviews it.