https://prefect.io logo
Title
z

Zach

05/18/2020, 7:44 PM
Is there a way to have a flow automatically restart from the beginning of the flow if one of the tasks fail, instead of starting from the failed task?
k

Kyle Moon-Wright

05/18/2020, 7:53 PM
Hey there @Zach, Could you tell us about your use case a bit? I believe I can provide some insight, but I am curious to your implementation.
More generally, retries are kickstarted at the task level and not at the flow level currently. I think there’s some potential for a flow run configurations however, I would love to know how you’d utilize a flow rerun or what API configurations would be the most useful for you. 🤔
p

Pedro Machado

05/18/2020, 8:21 PM
I also find this interesting. I posted a question about restarting a upstream tasks upon retry or a given task. More background in this thread. https://prefect-community.slack.com/archives/CL09KU1K7/p1589596469064300
k

Kyle Moon-Wright

05/18/2020, 8:35 PM
Thanks @Pedro Machado, always nice to gather these use cases together. It’s a real challenge to determine feature commonalities when implementing a new API and ensure it supports users holistically. 👍