Replies: 32 comments 6 replies
|
@janpio Thanks for splitting this off into its own discussion! I said this in the original discussion, but while being able to re-run the job as soon as it fails would be the best solution, I'd settle for a "Cancel workflow & rerun failed jobs" button. As it stands, I have to do the cancel and rerun steps individually, which would be annoying but ultimately fine if cancellation were instantaneous. It isn't, though, so instead I have to wait around for the cancellation to take before I can then rerun the jobs (which is in and of itself a harder process than it needs to be, as @melissachang does an excellent job of describing here). |
|
We should have the ability to:
|
|
Up on this subject |
|
+1 |
|
Thanks for this feedback! We are thinking on this and also about what primitives we need (how exit codes/status need to evolve) in this area. It's not something we are doing right now, but I really appreciate the engagement and please keep voting this up if you are interested <3 |
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
+1 especially for self-hosted runners because the network and machine status might be more unstable. |
|
+1, @nebuk89 this really slows down build time and is just poor developer experience |
|
+1 |
|
+1 |
|
+1 |
|
I was having the same issue. Most of my jobs are long running jobs and it wasn't possible for me to cancel the entire workflow if one of the jobs failed. I needed a way to retrigger the workflow which I know I could achieve if it was triggered as an individual workflow. So I ended up implemented workflow dispatch and wait (https://github.com/marketplace/actions/workflow-dispatch-and-wait). I have a workflow orchestrator that dispatches the individual workflow and waits for them to finish. I have an option to cancel the individual workflow or re-run them. This isn't exactly ideal but gets me half way through what I needed. This might not work if you have dependent jobs and stuff. |
|
Please do this, so annoying having to wait for all jobs to finish, just wasting time. |
|
I'm surprised this is still an issue, and we need to wait for that one long-running job to complete until we can restart the failed ones. Please look into this, it's quite frustrating. |
|
+1 |
|
+1 |
|
Joining the bandwagon here, +1. We've had to split our workflows up into multiple files as a long-running job (~30 minutes) blocks us from retrying a short, but occasionally flakey, job (which is a pre-req in a chain of subsequent jobs). We have to wait for the full job to finish just wasting ages. |
|
Also joining to show some love for this request, would be a great quality of life improvement 🚀 |
|
Similarly, if would be great to be able to cancel a single job instead of the whole workflow. Does it make sense to create an own topic from this? Somehow belongs together to me 🙂. |
|
+1 |
|
+1 |
|
+1 cmon, add the feature, its 2026 we are not asking a human to grace us with his presence |
|
+1 |
|
+1 |
|
+1 |
|
I completely agree with this suggestion. If a small job fails early because of a temporary network issue or a flaky dependency, having to wait for the entire workflow to finish before restarting it feels unnecessary. Being able to retry failed jobs immediately while the rest of the workflow is still running would save time, reduce idle waiting, and make CI pipelines much more efficient, especially for larger projects with long-running jobs. It's one of those workflow improvements that seems small but could make a noticeable difference for developers who use GitHub Actions every day. Just like having quick access to the Quran makes daily reading easier, keeping Surah Yaseen available through a Surah Yaseen PDF download is a simple convenience that helps many people stay consistent with their routine. |
|
+1 |
|
+1 |
|
+1 |
|
+1 (plenty of other CI/CD platforms e.g. Buildkite support this) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Product Feedback
Body
https://github.com/orgs/community/discussions/4278 and actions/runner#432 added the ability to re-start individual jobs, instead of having to re-run all the jobs in a workflow when one fails. That already was a great improvement and avoided a lot of wasteful CI minutes.
But now we still have to wait for all jobs in a workflow to finish before we can do that. If a quick job fails because of some temporary or flaky error, we have to wait for the one super slow job to finish - and only then can we click the button to restart the job that failed. That leads to us sitting in front of GH Actions tabs, waiting for the workflow to fail fully. If we could restart individual jobs earlier, that would be much more efficient.
Please let us instantly restart failed jobs while the rest of the workflow is still in progress.
(Written while waiting for a slow job to finish so I can restart a fast one that failed 10 minutes ago because of some network problem)
All reactions