<@ULVA73B9P> My runs are all stuck on Late but my workpool is ready
j
@Marvin My runs are all stuck on Late but my workpool is ready
m
It seems that your flow runs are stuck in the "Late" state despite your work pool being ready. This situation can arise due to a few reasons: 1. Worker Not Running: Ensure that a worker is actively running and polling the Prefect API to pick up the scheduled flow runs. If the terminal running the worker is closed or if the worker process is not active, the runs will not start. Starting a worker guide. 2. Pending State Issues: There might be issues related to the flow runs being stuck in a pending state, which could be a known issue in certain environments, such as when using specific integrations like
prefect-gcp
. This can prevent the runs from starting. GitHub Issue Reference. 3. Automation Misfires: Automations set to trigger on "Late" states might be misfiring, causing unexpected behaviors. Double-check any automations related to flow run states. GitHub Issue Reference. 4. Late Run Threshold: If a flow run is significantly delayed, consider setting a threshold after which a late run should fail instead of executing. This can prevent excessively delayed tasks from running. GitHub Issue Reference. For further troubleshooting, ensure that your worker is running properly and actively polling for tasks. If issues persist, reviewing the Prefect logs and checking for any recent updates or known issues in the Prefect community might provide more insights.