Can I change the task run state from the UI in Prefect 2?
12/02/2022, 4:44 PM
In prefect v1 is there an option to re-run a single task?
We had a single task fail, and none of the other tasks depend on it. So other tasks were already in progress and wanted to allow them to keep running, but it would be nice to re-run the failed one.
12/02/2022, 4:49 PM
this is not as simple as it seems - this task would need infrastructure to run in
also, the task may have need data from upstream tasks as input
it might be easier to:
• add automatic retries on this task decorator to avoid doing this manually
• rerun that task locally by commenting out other task calls
we could take it as a feature request, though to manually change task run states e.g. mark them as completed or failed and this would allow you to rerun only those that are marked as failed, does that work for you? (no promises, but this sounds like a reasonable feature request)
IIRC you could already do that using Orion client i.e. manually set a task run state to Failed and then you could rerun from failure from the UI
12/02/2022, 4:56 PM
We did add some automatic retries to this task in case it fails again