[resolved] Run Flows Never Starting
Here's an issue I keep running into:
1. Run and register a flow from the terminal
2. Click "QuickRun" from cloud.prefect.io
3. Wait
4. Eventually the run flow shows up as "Late"
If I run a super simple example, the flow runs fine from the browser. But when I add real work into it, the run flow never shows up as being started.
jack
12/10/2020, 9:12 PM
Figured out the flow was registered with a label. Now I realize that labels effectively filter out flows from agents.
d
Dylan
12/10/2020, 9:13 PM
Hey @jack!
That’s correct, Flow Runs are only picked up by Agents with appropriate labels
j
jack
12/10/2020, 9:13 PM
Hey Dylan---I thought NEAT, a label! Now everyone will know what this flow relates to 🙂
marvin 1
d
Dylan
12/10/2020, 9:15 PM
If you’re looking to quickly run the flow locally on your machine, there’s actually a
flow.run_agent
method (takes a RUNNER token as an argument) that you can use to immediately start an agent with appropriate labels