Repository navigation
Description
Checks
- I've already read https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors and I'm sure my issue is not covered in the troubleshooting guide.
- I am using charts that are officially provided
Controller Version
0.13.1
Deployment Method
Helm
Checks
- This isn't a question or user support case (For Q&A and community support, go to Discussions).
- I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
To Reproduce
This is not reproducible directly as it is the byproduct of an incident.
see https://www.githubstatus.com/incidents/g9j4tmfqdd09Describe the bug
During the GitHub Actions degraded availability incident on 2026-03-05 githubstatus.com/incidents/g9j4tmfqdd09), our ARC deployment experienced runners that became stuck in a bad state and were not automatically recovered after GitHub's services came back online.
These runners were registered before the incident, lost their registration during GitHub's degradation, and ARC never reconciled them back to a healthy state.
This was resolved by manually deleting all of the stuck ARC runner pods.
Describe the expected behavior
ARC has no garbage collection loop that reconciles GitHub-side runner registrations against actual Kubernetes pod state. The EphemeralRunnerReconciler only handles the forward path (create secret -> create pod -> monitor pod). It does not:
- Periodically verify that a runner's GitHub registration is still valid
- Detect runners whose registration was invalidated by a GitHub-side incident
- Clean up and re-provision runners that are running but no longer recognized by GitHub
I suggest that we should add periodic health check to the EphemeralRunnerReconciler that verifies the GitHub-side registration is still valid for running EphemeralRunners.
Additional Context
1. GitHub's `api.github.com/actions/runner-registration` endpoint became unavailable.
2. The ARC `EphemeralRunnerReconciler` failed to generate JIT configs for new runners, retrying 5 times with backoff before giving up.
3. Already-running runners lost their registrations on the GitHub side (`Registration <uuid> was not found`).
4. Runner pods entered `BrokerServer` backoff loops, unable to communicate with `broker.actions.githubusercontent.com`.
5. **After GitHub recovered at ~23:55 UTC, errors and backoff warnings continued until at least 00:17 UTC** — over 20 minutes of lingering failures. Runners that were mid-registration during the incident remained in a bad state with no automatic recovery.Controller Logs
related logs:
https://gist.github.com/rob-howie-depop/27b15fd387ffc5f8f36e838614ffefc0Runner Pod Logs
related logs:
https://gist.github.com/rob-howie-depop/27b15fd387ffc5f8f36e838614ffefc0
Activity
github-actions commentedon Mar 6, 2026
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
[-]<Please write what didn't work for you here>[/-][+]ARC runners did not recover automatically after Github Outage[/+]jspiewak commentedon Aug 10, 2026
We hit this again during the 2026-08-06 Actions outage (
qcvjkzcs7j74) on ARC 0.14.2 / runner 2.335.1 (EKS). Adding data in case it helps triage, since this issue has been open since the March outage.Acute symptom. 27 runner pods in one scale set were left
Runningwithstatus.jobRequestId: <none>for 17–21 hours. They were created between 16:37 and 20:07 UTC on 08-06, i.e. during the outage, and were still sitting there at 13:30 UTC on 08-07 — 11.5 hours after GitHub declared the incident resolved (02:04 UTC). Runner container logs showed nothing but a credential refresh every ~50 minutes:No job pickup, ever. The listener gauges reflected this precisely:
gha_assigned_jobspinned at 27 whilegha_busy_runnersaveraged 0.12 across the entire 11.5-hour window.Impact. This is not just wasted capacity — it blocked scheduling. 261 of 970 jobs on that label queued more than 15 minutes, with delays peaking at 4.5–5 hours, despite
maxRunners: 200and only 27 runners present. Deleting the pods (kubectl delete pods -l actions.github.com/scale-set-name=...) resolved it immediately; average queue time on that scale set dropped from ~33 min to ~2.4 min within the hour.The part that may be more useful to you: while investigating, we found the same failure mode occurring chronically, with no outage involved. Joining pod lifetimes (kube-state-metrics
pod.age) against actual job execution times from an ARC-independent source, in a normal incident-free week:…amd64-4-core-…-54kd2…amd64-2-core-…-b4bp2…amd64-2-core-…-xw6fx…amd64-2-core-…-7mqghEvery one ran exactly one job — correct ephemeral behaviour — and then simply never exited. Worst observed: a pod that lived 13.5 hours for a 631-second job, and one that lived 9.7 hours for an 11-second job. In the 13 days before the outage, 38 pods exceeded 8 hours of life. For scale, across 247,255 jobs in the same period only 4 ran longer than 4 hours, so genuine long jobs don't explain any of this.
That suggests the outage isn't really the trigger — it just produces many at once. Whatever leaves a runner alive after its job completes appears to be happening continuously at a low rate, which may make this easier to reproduce than "wait for an incident". Possibly related: #4307 and #4155.
The status page for the 08-06 incident stated that "the next releases of Actions Runner and Actions Runner Controller will include an automatic recovery mechanism, preventing the need for these manual steps in the future." Is there an issue or PR tracking that work? I couldn't find one, and 0.14.2 is still the latest release. Happy to provide more detail or test a fix.
david-gang commentedon Aug 16, 2026
Another datapoint on ARC 0.14.2 / runner 2.335.1 (self-managed Kubernetes, linux-arm64 runners), with two properties that I think are new to this thread: it happened with no GitHub incident in progress, and the runner stopped retrying entirely rather than looping.
Strongly seconding @jspiewak's point that the outage isn't the trigger. There was no Actions incident on our date — the most recent was 2026-08-07 02:04 UTC, ten days earlier — and every other job in the same workflow run (hosted-runner jobs plus two other self-hosted scale sets) completed normally in the same window. This was a single isolated runner.
Timeline
The EphemeralRunner and its pod were created in the same second. One pod, zero restarts — so this is not the pod-recreation path from #4588; the JIT config was consumed exactly once, by the only pod that ever existed.
The failure, and where it diverges from #4191
Note the path:
RunServer/RunServiceHttpClient.GetJobMessageAsync. #4191 fails inBrokerServer/BrokerHttpClient.GetRunnerMessageAsync— polling for any message, before assignment. This one fails while acquiring a specific, already-assigned job, which is why it can never self-correct: from the listener's perspective the assignment was already booked.Also unlike #4191, there is no infinite loop. It exhausted its 5 retries, logged the exception above at
13:08:07Z, and then wrote nothing ever again — while staying alive:RunAsyncreturned from its retry wrapper but the process never exited. I'd argue this is worse than the #4191 loop: a loop at least emits a signal, whereas this is indistinguishable from a healthy idle runner by every available check.Nothing in the control plane noticed — 46 minutes
The listener re-derived the same conclusion every ~50s for the entire 46 minutes:
This is exactly the gap in the original report: because the pod never fails, the forward-only reconciler has no event, and there is no loop that would ever ask GitHub whether this runner's registration is still valid.
kubectl delete ephemeralrunner <name>resolved it — a replacement was scheduled and picked up the job 90 seconds later, confirming capacity was available the whole time.Why this class is expensive on GPU pools
Our runners request multiple accelerators each under a quota-gated scheduler, so a zombie doesn't only occupy a slot — it holds quota that a replacement would need. The failure is self-blocking: the stuck runner consumes exactly the budget required to recover from it. Anyone running ARC on constrained accelerator pools will see much higher impact per zombie than the CPU case.
On the promised fix
The 2026-08-06 incident summary states that "the next releases of Actions Runner and Actions Runner Controller will include an automatic recovery mechanism." As of today ARC's latest release is 0.14.2 (2026-05-22) and actions/runner's is v2.336.0 (2026-07-20) — both predate that incident, so no released version contains it. Echoing @jspiewak: is there an issue or PR tracking that work? Given this reproduces without an outage, the periodic registration health check proposed in the original report seems like the necessary fix rather than a nice-to-have. Happy to test a pre-release.
jspiewak commentedon Aug 24, 2026
I was pointed at github/roadmap#1312 to track the 0.15.0 release. No timeframe, but it is "up next".
lamdor commentedon Sep 2, 2026
Another datapoint on ARC 0.14.2, self-managed Kubernetes (Talos), org-level runners. Adding it because the trigger differs from the outage cases above: there was no GitHub incident — both githubstatus.com and the Azure status page stayed green throughout — and we were able to identify the network fault precisely, which may help characterise what actually wedges the runner.
Trigger: ~40 minutes of packet loss on the path to the Actions broker. On 2026-09-02 our cluster's egress to
broker.actions.githubusercontent.com(20.85.130.105) degraded to 56% ICMP loss with RTT rising from ~13ms to 275-322ms.mtrlocated it inside AS8075, starting at the first Microsoft hop and persisting to the destination:Non-Microsoft destinations were unaffected through the same NAT (Cloudflare 60/60 clean,
1.1.1.10% loss), and TCP:443 traced the same path with latency spiking to 2000-5000ms. It cleared on its own after ~40 minutes.Listeners behaved correctly. They exit non-zero once the long-poll exhausts its retries, and the controller recreates them:
Runners did not. 25 of them were left
2/2 Runningwith a job assigned but never executed it, for between 31 minutes and 4 hours — well past the point where connectivity had fully recovered. Same log signature others have reported here, ending on either a credential refresh or an explicit give-up:The
RunServer Back off ... N attempts leftline may be the more useful of the two: unlike the listener, the runner does not exit when those attempts run out.The gauges showed it cleanly —
sum(gha_assigned_jobs - gha_running_jobs)sat at 19 across four scale sets while every scale set was well belowmaxRunners(one at 10 of 48) and zero pods were Pending, so it was not capacity. Deleting the 25EphemeralRunnerobjects requeued the jobs and dropped the gap to 1 immediately.On detection, in case it is useful to others hitting this before an upstream fix lands: we now alert on
min_over_time(sum(gha_assigned_jobs - gha_running_jobs)[45m]). The raw gap is too noisy for a static threshold — ours has a 7-day p95 of 39 purely from normal scale-up bursts — but the floor over a window separates the cases well, since a healthy burst returns to 0 within minutes while a wedge holds it up for hours. It needs one guard: a cluster resource shortage produces an identical sustained gap (jobs assigned, pods Pending, nothing running), so we suppress on sustainedPendingpods. In our data a wedge held Pending at 0-1 while a genuine node outage held it at 9.Consistent with the analysis in the issue description, this looks less like an outage-specific bug and more like the runner having no terminal state for "I can no longer reach GitHub". The listener's exit-and-be-restarted behaviour is exactly what the runner lacks.
Happy to provide more detail or test a fix.
feat(apps/gcp/acr-runners): upgrade ARC to 0.15.1 and harden runner p…