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
{{ message }}
Repository navigation
Runner not deleted from registered runners when getting swapped #2939
In our use case, we have spotted that when an instance being swapped away either by scaling or because of AWS,
the old runner instance (with the old instance hostname) keeps existence in Github's runner registration as Offline
state and we have to delete them manually.
The runner script does provide switch to remove it by calling ./config.sh remove --token "${TOKEN}" .
You can run the runner in two modes, ephemeral and non ephemeral. When running ephemeral the runner got removed once the job is done. For non ephemeral there is no gracefull shutdown. The scale-down lambda should deregister the runner from GitHub.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
npalm commentedon Feb 17, 2023
You can run the runner in two modes, ephemeral and non ephemeral. When running ephemeral the runner got removed once the job is done. For non ephemeral there is no gracefull shutdown. The scale-down lambda should deregister the runner from GitHub.
I haven't seen problems in our deployment so far.
github-actions commentedon Mar 20, 2023
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.
OlegSupport commentedon May 16, 2023
so. i have the same issue but can't find reason
feat(termination-watcher): deregister runners from GitHub on EC2 term…