<@ULVA73B9P> I GOT TASK FAILED AT SOME POINT , I R...
# marvin-in-the-wild
a
@Marvin I GOT TASK FAILED AT SOME POINT , I REFACTORED THE CODE AND WANTED TO RETRY BUT THE FLOW IS COMPLETELY NEW RATHER THAN STARTING FROM THE EXACT POINT OF FAILURE
m
You refactor code, but retrying the failed task runs entire new flow. 🤔 Let's find out more about restart failed parts Prefect! First, which version Prefect you use? So grug better help you. 😊
a
@Marvin 3.0
m
Retry failed tasks in Prefect 3.0 has some complexities, but here key points: 1. Retry Mechanism: - Prefect supports retry on both flow and task levels with exponential backoff. Docs 2. Retry Notifications: - Users have requested better interfaces for retry notifications and handling multiple retries. Current handling may not trigger notifications properly. Issue Link 3. Graceful Failure & Self-healing: - Prefect is designed to handle retries, self-healing, and graceful failures. Blog Link If still not work as expected, might need custom logic or checking specific handling in your code! Grug hope this help! 😊