Skip to content

Self-hosted runner stuck on "Waiting for a runner to pick up this job..." in multi-step jobs #3609

Open

Description

@joelnwalkley

Describe the bug
Using a self-hosted runner.
When a GitHub action has multiple steps the first will run successfully but then the subsequent step is stuck in queued status with a logging message "Waiting for a runner to pick up this job..."

I am able to get the stuck jobs to start by either cancelling and re-running the job via the GitHub UI or by restarting the GitHub Runner service within our EC2. In both instances the job immediately picks up and runs successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Use self-hosted GitHub Runner
  2. Use a multi-step action
  3. Initiate the action
  4. Observe that the 2nd step is stuck in queued status.

Expected behavior
The runner should pick up the 2nd (and following steps)

Runner Version and Platform

v2.321.0 Windowsx64

We noticed that our machine auto-updated with this version on November 27 and then our CI runs the following week started to have this problem.

OS of the machine running the runner?
Windows

What's not working?

"Waiting for a runner to pick up this job..." for up to hours.

Job Log Output

N/A the runner does not get to job output, it is stuck in queue.

Activity

  1. added
    bug
    on Dec 4, 2024
  2. daniel-v-nanok commented on Dec 4, 2024

    @daniel-v-nanok

    I am also being affected by this, tried everything, added disableUpdate to no avail

  3. richardgetz commented on Dec 4, 2024

    @richardgetz

    Same here. Manually stopping and starting the service makes it move onto the next job. Obviously this is not ideal.

    v2.321.0 Linux Arm64

  4. TylerWilliamson commented on Dec 4, 2024

    @TylerWilliamson

    Also affected by this issue on multiple runners running v2.321.0 on Debian 12 / amd64. We are able to workaround this issue by rebooting the runners.

  5. richardgetz commented on Dec 4, 2024

    @richardgetz

    I tested downgrading to v2.320.0 and encountered the same issue.

  6. canmustu commented on Dec 5, 2024

    @canmustu

    Same. I tried everything that I can. Nothing changed.

  7. amalhanaja commented on Dec 5, 2024

    @amalhanaja

    Same here. is there any work around for this issue?

  8. connor-27 commented on Dec 5, 2024

    @connor-27

    I've tried almost everything I could do... but it's not working out well.

  9. rohitkhatri commented on Dec 5, 2024

    @rohitkhatri

    I'm also facing the same issue, have to stop the service and start again then only the next stage starts

  10. AkshayDhadwal26 commented on Dec 5, 2024

    @AkshayDhadwal26

    it's not working out well.

  11. Kozocom-HoaiTTT commented on Dec 5, 2024

    @Kozocom-HoaiTTT

    I'm also facing the same issue, have to stop the service and start again then only the next stage starts

  12. kemalgoekhan commented on Dec 5, 2024

    @kemalgoekhan

    Windows and Linux both have same issue.

  13. enginelesscc commented on Dec 5, 2024

    @enginelesscc

    Same issue here, and my workaround is to rerun & immediately cancel some old action.
    This "revives" stuck jobs, but new jobs endup with the same problem again.

  14. dexpert commented on Dec 5, 2024

    @dexpert

    same issue
    only fixed by restart runner each step :(
    systemctl restart actions.runner......

  15. NekiHrvoje commented on Dec 5, 2024

    @NekiHrvoje

    For those using action machulav/ec2-github-runner, which does not use systemd service you need to kill process /actions-runner/run-helper.sh and start it again from /actions-runner/bin with ./run-helper.sh run.

  16. 113 remaining items

  17. zarko-a commented on Jun 11, 2025

    @zarko-a

    @thboop Thanks for getting back to us. We are indeed using ARC, but unfortunately, I don't think the issue we encountered aligns with the scenario you described with failed pods. In our case there were 0 pods (failed or running) in our runner namespace yet nothing was getting scheduled. Everything was just queued for over 10 hours, until we reinstalled ARC controller.

    If it helps, here is a ticket number 3461184. There I've included some screenshots.

  18. thboop commented on Jun 11, 2025

    @thboop
    Collaborator

    Hey @zarko-a, the pods would not appear as running, they are failed which may be causing some confusion.

    Looking at your ticket I would strongly encourage you to double check your controller logs for a "EphemeralRunnerSet" and follow the guidance here if your failed number is anything other then 0. It sounds like it was mitigated by a redeploy of the cluster on your end.

    It would look something like

    "failed": x, "deleting": 0}
    
  19. thboop commented on Jun 11, 2025

    @thboop
    Collaborator

    You could also follow the steps here to fully re-setup the cluster

    The good news is that a fix for this manual cleanup should be coming in the next version of ARC, sorry for the churn here

  20. surgiie commented on Jun 11, 2025

    @surgiie

    You could also follow the steps here to fully re-setup the cluster

    The good news is that a fix for this manual cleanup should be coming in the next version of ARC, sorry for the churn here

    For our setup deleting failed ephemeral runners only worked for a while as long as the runners were marked with status Failed but we started getting ephemeral runners that were just completely stuck in a <none> phase which we confirmed with

    kubectl get EphemeralRunner -n github-actions --no-headers -o 'custom-columns=:metadata.name,:status.phase'.

    I assume that <none> is either pending or queued, im not entirely sure how to confirm.

  21. zarko-a commented on Jun 11, 2025

    @zarko-a

    Thanks @thboop . I don't remember if checked EphemeralRunners resource when the issue was manifesting. I'll keep this in mind and check it next time when it happens.

  22. kyrylomiro commented on Jun 19, 2025

    @kyrylomiro

    Same kind of issue happens to us, some of our runners group are particularly affected, and they have <none> status

  23. surgiie commented on Jun 20, 2025

    @surgiie

    For us, we updated to latest ARC version, and segmented some of our scheduled builds out and things were working great for about a week, no stuck builds but this morning we started to experience this issue again:

    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.

    There is a thread/issue on the ARC repo as well about this: actions/actions-runner-controller#4121

  24. elaigor commented on Jul 1, 2025

    @elaigor

    So, after the last updates, we are not having any EphemeralRunner with status Failed, BUT now, all those runners that are continuing are stuck with status ready = false.
    After cleaning these EphemeralRunners, the problem with "Waiting for a runner to pick up this job" disappears, but until the next failures.

    status:
      failures:
        b571c315-......-db8b2a2c340b: '2025-07-01T08:03:00Z'
      phase: Running
      ready: false
    
  25. surgiie commented on Jul 1, 2025

    @surgiie

    So, after the last updates, we are not having any EphemeralRunner with status Failed, BUT now, all those runners that are continuing are stuck with status ready = false. After cleaning these EphemeralRunners, the problem with "Waiting for a runner to pick up this job" disappears, but until the next failures.

    status:
      failures:
        b571c315-......-db8b2a2c340b: '2025-07-01T08:03:00Z'
      phase: Running
      ready: false
    

    Is this on the latest 0.12.1 version? https://github.com/actions/actions-runner-controller/releases/tag/gha-runner-scale-set-0.12.1

  26. elaigor commented on Jul 1, 2025

    @elaigor

    Is this on the latest 0.12.1 version? https://github.com/actions/actions-runner-controller/releases/tag/gha-runner-scale-set-0.12.1

    No. It's from 0.12.0.
    I will try to update to 0.12.1 in a few days.
    Thanks

  27. elaigor commented on Jul 2, 2025

    @elaigor

    Can confirm that 0.12.1 fixes the problem with EphemeralRunner in failed status, and for 24h we haven't had any "Waiting for a runner to pick up this job...".
    Thanks!

  28. Patel-Aakash commented on Jan 19, 2026

    @Patel-Aakash

    I'm also facing the same issue on windows self hosted runner.

  29. sergeishestakov-gh commented on Apr 23, 2026

    @sergeishestakov-gh

    is it any solution for self-hosted vm runners ?
    same issue on 2.321.0 version

  30. SwapnilSoni1999 commented on May 4, 2026

    @SwapnilSoni1999

    is it any solution for self-hosted vm runners ? same issue on 2.321.0 version

    Restart the service and it'll be back online

  31. sergeishestakov-gh commented on May 4, 2026

    @sergeishestakov-gh

    Restart the service and it'll be back online

    restart works but its looks more like workaround - not solution

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions