Bastian Röhrig
09/15/2021, 9:35 AMstate_handler
that uses the set_flow_run_name
method on the prefect client to rename itself when it moves to the running state. Now, I have set automations in prefect cloud that alert me when a flow run fails. I am now experiencing the following behaviour: If a flow run fails within a few minutes (approx. 5-10 minutes), I see the prefect generated run name (e.g. neat-kudu) in the alerts. If the flow run fails after a longer time (50 minutes), I see my custom flow run name in the alert.
Is this expected? Is there anything I can do on my site to fix it?Kevin Kho
state_handler
did not succeed in updating within the first 5-10 mins? What is causing the failure? Is it expected?Bastian Röhrig
09/15/2021, 2:12 PMstate_handler
is successful, I see the updated flow run name in the ui within seconds of the flow run startingKevin Kho
Kevin Kho
Bastian Röhrig
09/16/2021, 6:37 AM