GitHub-hosted runner VM cleanup guarantees and Docker CREATE timeout behavior #211657
Replies: 3 comments
1. VM Cleanup and Recovery Guarantees
2. Docker
|
|
Good questions @artoooo-max, Here is how GitHub-hosted runner lifecycles behave under the hood:
|
|
GitHub publishes no cleanup SLA and no way to confirm from outside that a VM is gone, so none of the three guarantees in your first question exist in writing. What is documented: each job runs in a fresh instance of the runner image (https://docs.github.com/en/actions/how-tos/write-workflows/choose-where-workflows-run/choose-the-runner-for-a-job), a hosted job is terminated at 6 hours of execution time (https://docs.github.com/en/actions/reference/limits), and a queued run not picked up within 45 minutes is discarded (https://docs.github.com/en/actions/concepts/runners/github-hosted-runners). The bound you control is For the second question, make the create idempotent instead of trying to prove a negative. Pass |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
ARC (Actions Runner Controller)
Discussion Details
Hello GitHub Community,
We are evaluating a controlled test workload using GitHub-hosted Ubuntu 24.04 runners.
Before executing any tests, we would appreciate clarification on two technical questions.
If the workload host, independent watchdog, and Docker daemon fail, GitHub documentation states that the hosted runner VM is eventually decommissioned.
Suppose a Docker CREATE request reaches the daemon, but the client times out or loses the response.
We understand that an empty container list or a terminated Docker CLI process does not necessarily prove that an outstanding CREATE operation has completed.
We are looking for documented guarantees, supported interfaces, or explicit limitations.
No workload has been executed yet.
Thank you for your guidance.
All reactions