Skip to content

Restart Failed Workflows - #1257

Open
rstyd wants to merge 4 commits into
developfrom
restart_failed_tasks
Open

rstyd wants to merge 4 commits into
developfrom
restart_failed_tasks

Conversation

@rstyd

@rstyd rstyd commented Aug 18, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds the ability to restart failed workflows via the retry command.

@rstyd
rstyd requested a review from pagrubel August 18, 2026 16:29
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Coverage

@github-actions

Copy link
Copy Markdown
Contributor

Coverage

@pagrubel

Copy link
Copy Markdown
Collaborator

@rstyd I have some more testing to do, but this works well with Failed and Cancelled tasks. However, I do have a couple of points.
Why did you remove the copy command. If it was of no use, please delete the entries for it in the documentation.
Also, since the workflow is archived even though it fails, you should at a mininum keep the previous archive and version it, to preserve provenance for all the tasks from the previous run(s). You might need to check if those are removed with the remove command too.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage

@pagrubel pagrubel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we get rid of beeflow copy? Is it used for reexecute?
Please save the former archive with a version number or add to the original so all provenance exists.

@rstyd

rstyd commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator Author

Ah good point on the archive.

@pagrubel

Copy link
Copy Markdown
Collaborator

If at all possible could you add resetting the num of tries done for checkpoint restart to zero if a task failed, giving the opportunity to do num_tries more by just retrying the workflow

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants