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
Hey folks,
I am using self-hosted runners quite a lot where my runners are provisioned via a matrix job just before they are needed. Do teting on the actual self-hosted runner & then clean up.
Recently I've had the following situation:
My provisioning job was stuck and kept retrying for 6 hours before it timed out
The real job which was waiting for this runner was scheduled and stayed in the queue for 24hrs before GitHub considered it to be expired and terminated it. From the docs
Job queue time - Each job for self-hosted runners that has been queued for at least 24 hours will be canceled. The actual time in queue can reach up to 48 hours before cancellation occurs. If a self-hosted runner does not start executing the job within this limit, the job is terminated and fails to complete.
This lead to issues for my clean-up b/c it was waiting for 2) to complete.
I am looking for a similar solution for item 2). Is there any way to control how long before a job in the queue is considered stale and should be terminated ? I want to bring this number way down from the default of 24 hrs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey folks,
I am using self-hosted runners quite a lot where my runners are provisioned via a matrix job just before they are needed. Do teting on the actual self-hosted runner & then clean up.
Recently I've had the following situation:
This lead to issues for my clean-up b/c it was waiting for 2) to complete.
I can solve 1) by using jobs.<job_id>.timeout-minutes.
I am looking for a similar solution for item 2). Is there any way to control how long before a job in the queue is considered stale and should be terminated ? I want to bring this number way down from the default of 24 hrs.
Beta Was this translation helpful? Give feedback.
All reactions