You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using --ephemeral with --disableupdate causes jobs to get stuck in pending indefinitely. Runners register successfully on GCP but GitHub never dispatches jobs to them.
To Reproduce
Deploy ephemeral self-hosted runners on GCP using this project
Jobs remain stuck in pending despite runners being created and registered
Expected behavior
Jobs should be picked up by the runners after they register. Removing --disableupdate from the config.sh call in gcloud_client.py fixes the issue — ephemeral runners are destroyed after each job anyway so there is no reason to block updates.
Additional context
The --disableupdate flag is passed on line 83 of gcloud_client.py makes sense for persistent runners where you want to control update timing. For ephemeral runners it provides no benefit and actively causes this failure mode when GitHub's service requires a newer runner version than what is baked into the GCP image.
Describe the bug
Using
--ephemeralwith--disableupdatecauses jobs to get stuck in pending indefinitely. Runners register successfully on GCP but GitHub never dispatches jobs to them.To Reproduce
Expected behavior
Jobs should be picked up by the runners after they register. Removing
--disableupdatefrom theconfig.shcall ingcloud_client.pyfixes the issue — ephemeral runners are destroyed after each job anyway so there is no reason to block updates.Additional context
The --disableupdate flag is passed on line 83 of gcloud_client.py makes sense for persistent runners where you want to control update timing. For ephemeral runners it provides no benefit and actively causes this failure mode when GitHub's service requires a newer runner version than what is baked into the GCP image.