Skip to content

ARC runners not running github workflows #4121

Closed

Description

@matteodinome-quix

Checks

Controller Version

0.11.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

1. Deploy ARC (`v0.11.0`) on GKE with Helm using ephemeral runners.
2. Use workflows that target ARC-managed label.
3. After hours/days of use, observe jobs remaining stuck in "Queued".
4. Note that:
   - Runner pods may still be up.
   - Helm upgrade or uninstall/install resolves the issue.
   - The number of running pods may not match expected count.

Describe the bug

We’re running into a persistent issue with ephemeral runners managed by ARC. After a few hours or days, GitHub Actions jobs targeting the ARC-managed runner label stop starting.

  • Jobs remain in "Queued" state indefinitely.
  • The controller and runner pods show no errors.
  • The only reliable workaround is to fully recreate the ARC release via Helm (not just restarting pods).
  • Sometimes there is a mismatch between the number of ephemeral runners requested and the number actually running, suggesting a desync between ARC and GitHub Enterprise.

This severely impacts reliability.

Environment

  • actions-runner-controller version: v0.11.0
  • Kubernetes version: v1.32.2-gke.1297002
  • GitHub: GitHub Enterprise
  • Runner version: 2.235.0
  • Deployment method: Helm

Request

  • Is this a known issue with ephemeral runner tracking or GitHub Enterprise integration?
  • Are there any controller-side health checks, reconciliations, or garbage collection settings we should tune?

Thanks!

Describe the expected behavior

ARC should maintain an accurate and responsive runner pool, ensuring runners are available and recognized by GitHub at all times, without needing a full Helm redeploy.

Additional Context

- Restarting individual runner pods does not fix the issue.
- Full redeployment of the Helm chart (delete + install) is required.
- There may be a controller/running state mismatch, especially for ephemeral runners.
- We are not using autoscaling or custom webhooks.

Controller Logs

nd

Runner Pod Logs

nd

Activity

  1. added
    bug
    needs triage
    gha-runner-scale-set
    on Jun 11, 2025
  2. github-actions commented on Jun 11, 2025

    @github-actions
    Contributor

    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.

  3. surgiie commented on Jun 11, 2025

    @surgiie

    I believe this is related actions/runner#3609

    For us this happens on some scheduled builds we have running early morning. They get stuck in a queued state and then they end up blocking other builds from running. Cancelling the builds or reinstalling the helm chart gets things working temporarily but the issue persists and comes back.

    Hoping for a release soon. It does seem like a major bug.

  4. ftmiro commented on Jun 12, 2025

    @ftmiro

    We have this problem and we can correlate with such errors:

    Caught exception from acquiring job message: System.Exception: Failed to get job message: Error: Service Unavailable. upstream connect error or disconnect/reset before headers. retried and the latest reset reason: connection timeout
    Attempt 1 of POST request to https://run-actions-3-azure-eastus.actions.githubusercontent.com/80/acquirejob failed (HTTP Status: ServiceUnavailable). The operation will be retried in 11.188 seconds.
    POST request to https://run-actions-3-azure-eastus.actions.githubusercontent.com/80/acquirejob failed. HTTP Status: Conflict
    Skipping message Job. Job message already acquired 'xxxx-8323-5669-a456-xxxx'. job assignment is invalid: MissingKey
    

    We didn't get any Service Degradation even from the GitHub status page though, during this time window

  5. andresrsanchez commented on Jun 17, 2025

    @andresrsanchez

    Exactly the same scenario here with 0.12.0 (latest), if i recreate the AutoscalingRunnerSet everything works again.
    It's sad but we are starting to think in alternative solutions because devs can't afford this experience every week.

  6. surgiie commented on Jun 17, 2025

    @surgiie

    @andresrsanchez What we have noticed has improved the situation.

    • Upgraded to latest 0.12.0
    • We segmented some of our scheduled builds at different times to avoid overlap. Having large amount of builds all trigger at the same time seems to make the stuck builds/queues issue happen almost every morning. Though, this shouldnt be required and ARC should be able to handle itself here.

    Since doing these 2 things, we've been good and havent seen the issue noted in actions/runner#3609

  7. AmanRiat1 commented on Jun 17, 2025

    @AmanRiat1

    Occasionally this happens to us and every time we had to fix it by upgrading to the latest version. Only then would a runner spin up

  8. andresrsanchez commented on Jun 19, 2025

    @andresrsanchez

    Thanks @surgiie! We did a hard reset, upgraded to latest and everything was running smoothly but after a couple of days:

    • The stats for Desired Replicas in EphemeralRunnserSets for multiple runners gets wrong
    • The builds start to get stuck
    • We need to delete the AutoscalingRunnerSet and start over again
    • We run EKS, Karpenter and in some runners spots

    Idk, we will keep investigating

  9. surgiie commented on Jun 20, 2025

    @surgiie

    @andresrsanchez I spoke too soon. Seems like we had more issues this morning:

    A few builds stuck for about 20 minutes. We had 6 EphemeralRunners in the "Running" state, but no pods started. Deleting the EphemeralRunners triggered new runners to start, which in turn started new pods that processed immediately.

    Some type of bug is still at play in latest version where things are not being started and get stuck.

  10. sharedgithub commented on Jun 23, 2025

    @sharedgithub

    We are also facing this issue. Runners goes offline after running for some hours. The offline runners keep running the existing job for sometime but no new runner gets created also the existing offline runners would not get removed. Faced this issue with 0.11.0 and 0.12.0 version of arc runner set. This is happening for a runner set which is running long running jobs and also scaling up and down more frequently than other runner set.
    We have to uninstall and install runner set every morning to make it work. Can someone please look into this on priority?

  11. surgiie commented on Jun 23, 2025

    @surgiie

    There is definitely a major bug that causes workflows to get stuck, not run or produce invalid statuses still at play, Im actively following the following issues as well:

    #4138
    #4136

  12. nikola-jokic commented on Jun 24, 2025

    @nikola-jokic
    Collaborator

    Closing this one as a duplicate of #4136 and #3953.
    If you get to this situation, where the workflow is queued in version 0.11.0, please check if you have failed ephemeral runners.
    To unblock you, please check if you have ephemeral runners in a failed state. If so, remove them, and the queued workflows should be picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggha-runner-scale-setneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions