Edit Message of Restart Button for More Clarity
Opened this issue · 0 comments
Opened from the Prefect Public Slack Community
thomasopsomer.enpc: Hello community 🙂
We experienced a strange behaviour of the "restart" button on prefect cloud:
When going to a task run and restarting the task, it correctly reschedules the task, but it doesn't reschedule the downstream tasks (in the UI they stay green instead of light blue)
kevin701: Only Failed tasks are re-scheduled with the restart button. We know there are cases where you want to re-run upstream/downstream so for Orion (Prefect 2.0) this will be supported first-class with subflows being logical units that you can restart together
thomasopsomer.enpc: Ah ok. So the fact that it used to work was just luck ? 🙂
Then maybe you should update the message in the UI when clicking the restart button to specify that only the failed/not_successful downstream dependents will be re-run
kevin701: Ah ok we can add a ticket in the UI repo for that
kevin701: Do you know what current one was?
thomasopsomer.enpc: yep:
> Click on confirm to restart the flow run flow_run_name from this task run. This will restart your flow run and re-run task task_name and its downstream dependents.
kevin701: Thank you!
kevin701: <@ULVA73B9P> open “Edit Message of Restart Button for More Clarity” in UI
Original thread can be found here.