Hello Prefect Team, I am struggling to understand ...
# ask-community
n
Hello Prefect Team, I am struggling to understand some recent behavior with our flows. Here is a high level look at the execution graph of the flow: On the first attempt it fails in a task in a subflow. It waits 10 minutes, then it runs the same flow again. On the 2nd attempt, it succeeds. However, the overall flow status is Failed, and I'm not sure why. I think it may be due to the create_snowflake_secure_view_task_0 that is stuck in the pending state? I am unable to reproduce this behavior in my local environment. Have any of you ever seen something like this before? One result is that although this flow appears to have succeeded on retry, we still get failure emails as if it didn't because the on_failure hook for the flow runs. Any help would be greatly appreciated!
So, looking closer, the issue doesn't seem to be that the flow passed but it is shown as failed. Instead, it seems that the problem is that the task left in PENDING was just never executed in the retried flow, but I can't figure out why.