Skip to content

Delay in starting an EC2 instance #2045

Closed Answered by crohr
Fgerthoffert asked this question in Q&A
Discussion options

You must be logged in to vote

Most likely a case of a runner being stolen by another job. I.e. imagine job A and B are launched, and use the same runs-on labels. If runner A fails to start, runner B might be assigned to job A, while job B hangs for a while, until job C with the same labels is started. At this point job B might start executing, while job C hangs, etc.

Best way to debug this would be to assign ${{ github.run_id }} in your runs-on labels to force the runner to process the job it was started for, but I don't think this project supports that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fgerthoffert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants