https://prefect.io logo
#prefect-community
Title
# prefect-community
d

Daniel Tavares

05/02/2022, 4:28 PM
Hi! is there a possibility to manually retry a failed task on prefect 2.0 UI?
a

Anna Geller

05/02/2022, 4:34 PM
Restarts functionality from the UI is not available yet in Prefect 2.0
d

Daniel Tavares

05/02/2022, 4:36 PM
Thanks @Anna Geller
👍 1
Is there a timeline for this feature to be implemented? @Anna Geller
a

Anna Geller

05/03/2022, 4:09 PM
no public timeline is available for given features, the easiest way of following up on specific features would be to either follow the #announcements channel with release notes or subscribe on Discourse for both
release-notes
and
restarts
tags
d

Derek Castile

05/03/2022, 4:19 PM
hi @Anna Geller - Is this not core functionality for an orchestrator and not a feature? Can you expose a bit more information to help us be strategic about versioning, we have been recommended to start with 2.0 over stable 1.0 and understanding approximately when or at least if the GA release of 2.0 will include this. Thanks.
a

Anna Geller

05/03/2022, 4:24 PM
I would say retries is core functionality, which is already available. Restarts from the UI is quite a complex feature that requires several API calls, results backend, and UI integration I need to jump, I can elaborate on this more later if you need more details
d

Derek Castile

05/03/2022, 9:51 PM
Is there any other way to trigger a restart? We have long running jobs, which can fail for various reasons, sometimes dependent on external systems, so resuming a flow midway is far better than resuming it from the beginning
a

Anna Geller

05/03/2022, 9:56 PM
That makes sense and totally valid (and common) use case. A really nice feature of Prefect 2.0 is that you don't have to register a flow in order to run it - you could connect even to your production workspace from a terminal with a single command:
Copy code
prefect cloud login --key XXX
In your flow, you can comment out the tasks that you don't want to rerun. Then, you can run your flow as any Python script
Copy code
python yourflow.py
and the run will be tracked in the UI in your chosen workspace, without having to redeploy any code - would this solution work for you?
s

Serina G

06/19/2022, 7:06 PM
@Hongkai Yu This thread may answer your question
🙌 1
2 Views