Closed thundercat1 closed 2 months ago
Thanks @thundercat1 - it does seem that we are not resolving the nested success on retry back up the chain, we can fix this.
Hi @thundercat1, I put up a PR that I hope will resolve this issue. Can you let me know if it does?
I believe this was closed by https://github.com/PrefectHQ/prefect/pull/14439. Please let us know by opening a new issue if you still seeing any problems.
First check
Bug summary
In the following flow, I'd expect the tasks to fail once, but then the caller
top_task
should retry, and everything should be successful on the second try. However, the overall flow state is marked as Failed despite the tasks eventually succeeding.Reproduction
Error
Versions (
prefect version
output)Additional context
Workaround here is pretty straightforward - either add retries to the flaky task, or remove the task decorator. So it isn't a huge blocker to being able to build effective flows. But, it's confusing and hard to retroactively figure out what happened when this happens in the context of a big flow - behavior more in line with expectations could prevent some debugging headaches.