Ability to restart individual GitHub Actions CI builds #4278
-
The cpython project runs a large number of CI jobs using Actions. Sometimes our tests are flaky and one job fails for a spurious reason (classic: ssl host not found). Of course we should fix our tests, but in the meantime it would be nice if we could restart just the failing job, rather than restarting all jobs (which we can force by closing and reopening the PR). Is this on the roadmap? I recall this being possible (at least for privileged users) in some competing systems, like Travis-CI. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 25 replies
-
Related ticket on @actions: actions/runner#432 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feature request, it's definitely on the roadmap and coming in the next few months! |
Beta Was this translation helpful? Give feedback.
-
feature is live 🚀 |
Beta Was this translation helpful? Give feedback.
-
We've shipped the ability to re-run failed and individual jobs in a workflow! 🚢 |
Beta Was this translation helpful? Give feedback.
-
@ethomson Hi, I've noticed that if any of the dependent jobs further down the chain use reusable workflows, then attempting to re-run a failed job will fail with a |
Beta Was this translation helpful? Give feedback.
-
Thanks for this feature. However, it's annoying that something that used to take 1 click, now takes 3 clicks. Before:
After -
After -
Could we skip the confirmation dialog:
|
Beta Was this translation helpful? Give feedback.
-
My only other piece of feedback is that I have to wait until all other running jobs have finished, before I can re-run my failed job. It would be nice to be able to re-run an individual failed job as soon as it fails, without having to wait for the rest of the run to finish. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to say thank you for this. I've been waiting for it for two years, and it was holding up our ability to move to Actions from another service. It really is a game changer for us. |
Beta Was this translation helpful? Give feedback.
-
I really wish this allowed rerunning a job before the workflow finished. There were a couple of comments in the linked issue in the runner repository with the same request. I think this could still work with the model GitHub actions has where "attempts" are at the workflow level, but attempts would have to be allowed to proceed in parallel. Since rerunning a failed job also reruns all of its dependent jobs, any in-process runs of those jobs would be cancelled (they would normally have already failed, but they could have |
Beta Was this translation helpful? Give feedback.
-
@OmerGery Can we change the tag to "partially shipped"? |
Beta Was this translation helpful? Give feedback.
We've shipped the ability to re-run failed and individual jobs in a workflow! 🚢