dagu icon indicating copy to clipboard operation
dagu copied to clipboard

feat: web ui: rerun selected steps

Open bremyozo opened this issue 9 months ago • 1 comments

Select a step and have an option to rerun only that step or also all downstream steps (similar to airflow)

Edit: Later found FAQ — How Can I Retry a DAG from a Specific Task?. Although it works

  • it's not obvious
  • it doesn't give control over if downstream task should skipped
  • works only for failed tasks or marked as failed. Would be nice to have dedicated button to rerun regardless if marked as failed. For some use-cases it's useful to rerun successful tasks for example - rerun only specific branch of a large DAG ahead of schedule or a single task to refresh cache

bremyozo avatar Mar 10 '25 10:03 bremyozo

We should definitely add the ability for users to rerun any step, regardless of its current status. This would be super helpful!

If anyone wants to contribute, here's what needs to be done:

  • Update the retry API to include a parameter like step and runSingleStep
  • Add a retry button to either the mermaid graph visualization (if possible) or to the modal popup that would let users run just a single step

I don't think we need to worry too much about ignoring the current status since users can already change that pretty easily. Whad do you think?

yottahmd avatar Apr 08 '25 01:04 yottahmd