Prefect v1 question - i sometimes see that a flow run or two will be stuck in a scheduled state - there are agents able to pick it up but it never goes from scheduled to submitted. Cancelling and restarting the flow run fixes it. A few times the issue is that they are stuck in a submitted state, but never go to running. Same things fixes those.
Is there anything in particular that would cause this that I can attempt to change? Otherwise, are there any recommendations for how to write a graphql query to catch these and programatically cancel/restart them?
✅ 1
k
Kalise Richmond
01/20/2023, 4:18 PM
Hi @Jessica Smith, here's a graphQL example that you can modify to query for the stuck runs. And here is a discourse article describing why your flow run might be stuck in a scheduled state
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.