ec2-github-runner icon indicating copy to clipboard operation
ec2-github-runner copied to clipboard

Rerun failed jobs

Open plutoZZZZ opened this issue 6 months ago • 2 comments

When rerunning failed jobs, have you ever experienced difficulties setting up a runner? The logic behind GitHub's "rerun failed jobs" feature is to only rerun the failed job and its downstream tasks. If the setup phase has already succeeded, it won't be rerun—however, this can lead to a situation where no runner is available for the rerun. Would you be able to share any insights or best practices for addressing this? Your guidance would be greatly appreciated.

plutoZZZZ avatar Jun 12 '25 02:06 plutoZZZZ

Hi. Rerun all jobs is the only solution in that case. You have to setup the dependencies in the right way, so your job has to have this: needs: start-runner

ghost avatar Jun 30 '25 21:06 ghost

Thanks for the input :thumbsup:

Hi. Rerun all jobs is the only solution in that case. You have to setup the dependencies in the right way, so your job has to have this: needs: start-runner

plutoZZZZ avatar Jul 01 '25 02:07 plutoZZZZ