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.14.0
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
- Deploy the official
gha-runner-scale-set-controller/gha-runner-scale-setcharts at0.14.0. - Configure an org-level scale set with
minRunners > 0(in our caseminRunners: 2,maxRunners: 4). - Let the pool keep warm idle runners.
- Patch the
AutoscalingRunnerSetspec (in our case we changedminRunners/maxRunnersa few times while tuning the pool). - The controller deletes the out-of-date listener.
- If warm runners are still present, the listener is not recreated and new GitHub jobs targeting that scale set remain queued.
Describe the bug
We are seeing a repeated listener deadlock on 0.14.0 with a warm ARC build pool.
After patching the build AutoscalingRunnerSet, the controller deletes the listener and then gets stuck in this state:
AutoscalingListener does not exist.Creating a new AutoscalingListener is waiting for the running and pending runners to finish
The important detail is that the remaining runners are not active jobs anymore; they are idle warm runners from minRunners > 0.
When this happens:
- the scale set has no listener pod
- at least one warm
EphemeralRunneris still present /Running - new workflow jobs targeting the scale set stay
queuedindefinitely
Manual workaround: deleting the idle EphemeralRunner immediately allows ARC to recreate the listener, and the queued workflow starts running.
This looks very similar to #4200, but we are reproducing it on 0.14.0, which should already include #4289.
Describe the expected behavior
Patching an AutoscalingRunnerSet with minRunners > 0 should not leave the scale set without a listener while idle warm runners still exist.
ARC should either:
- recreate the listener while warm runners still exist, or
- correctly distinguish idle warm runners from runners that should block listener recreation
New jobs should not remain queued indefinitely after a scale set patch.
Additional Context
Relevant AutoscalingRunnerSet config:
spec:
runnerScaleSetName: <build-scale-set>
githubConfigUrl: https://github.com/<redacted-org>
minRunners: 2
maxRunners: 4
listenerTemplate:
spec:
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
template:
spec:
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
containers:
- name: runner
image: ghcr.io/actions/actions-runner@<redacted-digest>
resources:
requests:
cpu: "4"
memory: 8Gi
limits:
cpu: "16"
memory: 32Gi
- name: dind
image: docker:dind@<redacted-digest>
resources:
requests:
cpu: "4"
memory: 8Gi
limits:
cpu: "16"
memory: 32Gi
securityContext:
privileged: trueObserved on 2026-04-04.
One concrete affected workflow run was a build job in a private repository that stayed queued until we manually deleted the idle EphemeralRunner.
Controller Logs
Most relevant excerpt:
2026-04-04T15:28:00Z INFO AutoscalingRunnerSet RunnerScaleSetListener is out of date. Deleting it so that it is recreated {"autoscalingrunnerset":{"name":"<build-scale-set>","namespace":"github-actions-runners"},"name":"<build-scale-set>-listener"}
2026-04-04T15:28:00Z INFO AutoscalingRunnerSet Deleted RunnerScaleSetListener since existing one is out of date {"autoscalingrunnerset":{"name":"<build-scale-set>","namespace":"github-actions-runners"}}
2026-04-04T15:28:02Z INFO AutoscalingRunnerSet AutoscalingListener does not exist. {"autoscalingrunnerset":{"name":"<build-scale-set>","namespace":"github-actions-runners"}}
2026-04-04T15:28:02Z INFO AutoscalingRunnerSet Creating a new AutoscalingListener is waiting for the running and pending runners to finish. Waiting for the running and pending runners to finish: {"autoscalingrunnerset":{"name":"<build-scale-set>","namespace":"github-actions-runners"},"running":2,"pending":0}
2026-04-04T15:31:01Z INFO AutoscalingRunnerSet AutoscalingListener does not exist. {"autoscalingrunnerset":{"name":"<build-scale-set>","namespace":"github-actions-runners"}}
2026-04-04T15:31:01Z INFO AutoscalingRunnerSet Creating a new AutoscalingListener is waiting for the running and pending runners to finish. Waiting for the running and pending runners to finish: {"autoscalingrunnerset":{"name":"<build-scale-set>","namespace":"github-actions-runners"},"running":1,"pending":0}If additional controller or runner logs would be useful, I can provide a further-redacted subset privately in follow-up.
Runner Pod Logs
The runner pods themselves were not crash-looping. In our case the issue was that idle warm runners remained present while the listener was gone, which blocked new job assignment until we manually deleted the idle EphemeralRunner.
Activity
github-actions commentedon Apr 4, 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.
nikola-jokic commentedon Apr 6, 2026
Hey @tonypottera24,
What update strategy are you using when you installed the controller?
tonypottera24 commentedon Apr 6, 2026
We are using
updateStrategy: eventualon the controller side.This is set via the official
gha-runner-scale-set-controllerchart values (flags.updateStrategy: eventual) on0.14.0.If it helps, I can also provide the exact controller values block (redacted) or try reproducing the same behavior with a different update strategy.
tonypottera24 commentedon Apr 6, 2026
We reproduced the same behavior again today, and it is not limited to our build scale set.
We now see the same deadlock on a separate CI scale set with the same
minRunners > 0pattern:AutoscalingListenerfor the scale set does not existEphemeralRunnerSetstill reports warm runners as runningonlinequeuedOne important refinement to the workaround from my original report:
EphemeralRunneris not always sufficient whenminRunners > 0EphemeralRunnerSet.spec.replicasto0So at least from our side, this still looks like a listener recreation deadlock tied to warm runners, not something specific to one scale set type or to Docker-in-Docker.
nikola-jokic commentedon Apr 6, 2026
Hey @tonypottera24,
This is exactly described behavior for that upgrade type:
actions-runner-controller/charts/gha-runner-scale-set-controller/values.yaml
Line 123 in 79e7b17
tonypottera24 commentedon Apr 7, 2026
Thanks, that part makes sense.
We understand that with
updateStrategy: eventual, ARC is expected to delay recreating the listener / runner set until pending and running runners are drained.What seems off on our side is that this does not just delay the rollout, it can get stuck in a state that requires manual intervention:
In our recent reproductions, the reliable recovery was to temporarily scale the corresponding
EphemeralRunnerSet.spec.replicasto0, so that the listener could be recreated.So the main question from our side is:
is it expected with
eventualthat warm idle runners can indefinitely block listener recreation and new job assignment after a patch, or would you consider that part unexpected?nikola-jokic commentedon Apr 7, 2026
Thanks! now I understand the issue. Can you please send the controller log at the time that occurred as well? In the meantime, I will try to reproduce the issue. Thank you for explaining it!
tonypottera24 commentedon Apr 8, 2026
The controller log excerpt currently in the issue body is the most relevant redacted snippet we captured from the time of occurrence.
It is the sequence where ARC deletes the out-of-date listener, then repeatedly reports:
AutoscalingListener does not existCreating a new AutoscalingListener is waiting for the running and pending runners to finishwith warm runners still counted as running.
If that is not enough context, I can try to provide either:
EphemeralRunnerSet.spec.replicasto0.If there is a specific surrounding log range or additional controller field you want, let me know and I can narrow it down.
tonypottera24 commentedon Apr 8, 2026
We reproduced this again and confirmed the same consistent conditions across occurrences:
minRunners > 0We also confirmed the following manual recovery sequence works reliably for us:
AutoscalingRunnerSetfrom creating warm runnersEphemeralRunnerSetAutoscalingListeneradilkhan-kushumbayev commentedon Apr 14, 2026
Hi @nikola-jokic @tonypottera24
I've also reproduced the issue on version 0.14.0.
After applying patch to AutoscalingRunnerSet, creation of new AutoscalingListener is blocked by existing EphemeralRunners.
The log message:
Creating a new AutoscalingListener is waiting for the running and pending runners to finish. Waiting for the running and pending runners to finish:It was tested with
updateStrategy: eventualWhen I switched to
updateStrategy: immediatethe issue was solved.Patching AutoscalingRunnerSet creates new AutoscalingListener with AutoscalingRunnerSet/EphemeralRunnerSet/EphemeralRunners right away.
Here is the log:
{"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingRunnerSet","message":"AutoscalingListener does not exist.","version":"0.14.0","autoscalingrunnerset":{"name":"infra-test","namespace":"actions-runners"}} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingRunnerSet","message":"Creating a new AutoscalingListener for the runner set","version":"0.14.0","autoscalingrunnerset":{"name":"infra-test","namespace":"actions-runners"},"ephemeralRunnerSetName":"infra-test-7zb9q"} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingRunnerSet","message":"Creating a new AutoscalingListener resource","version":"0.14.0","autoscalingrunnerset":{"name":"infra-test","namespace":"actions-runners"},"name":"infra-test-7bdbf76f-listener","namespace":"actions-runner-controller"} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingListener","message":"Successfully removed finalizer after cleanup","version":"0.14.0","autoscalinglistener":{"name":"infra-test-7bdbf76f-listener","namespace":"actions-runner-controller"}} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingRunnerSet","message":"Created a new AutoscalingListener resource","version":"0.14.0","autoscalingrunnerset":{"name":"infra-test","namespace":"actions-runners"},"name":"infra-test-7bdbf76f-listener","namespace":"actions-runner-controller"} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingListener","message":"Adding finalizer","version":"0.14.0","autoscalinglistener":{"name":"infra-test-7bdbf76f-listener","namespace":"actions-runner-controller"}} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingRunnerSet","message":"Find existing ephemeral runner set","version":"0.14.0","autoscalingrunnerset":{"name":"infra-test","namespace":"actions-runners"},"name":"infra-test-7zb9q","specHash":"5d4f8b69d5"} {"severity":"info","ts":"2026-04-14T11:33:03Z","logger":"AutoscalingListener","message":"Successfully added finalizer","version":"0.14.0","autoscalinglistener":{"name":"infra-test-7bdbf76f-listener","namespace":"actions-runner-controller"}}I suppose the issue with
updateStrategy: eventualis that it remains blocked by runners even if there is no pending/running jobs on them. It should proceed with AutoscalingListener creation in that case.github-actions commentedon May 15, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
docs(arc): blue stays at 20; runner concurrency is bounded by the bui…
docs(arc): blue stays at 20; runner concurrency is bounded by the bui…