https://prefect.io logo
Title
j

jack

07/15/2022, 2:02 PM
Are labels applied in the GUI expected to apply to scheduled flow runs?
1
We have a flow that is scheduled to run every morning. About a week ago, we used the GUI to add a label to the flow, but it still seems to be hit or miss which agent picks it up each morning, as though the new label is not being used.
a

Anna Geller

07/15/2022, 2:16 PM
in that case, you may reregister the flow with the new set of labels to avoid ambiguity
j

jack

07/15/2022, 2:19 PM
We are re-registering this flow
Can you say what is the expected behavior? We applied the same pattern to five different flows (Applying an additional label from the GUI). Should we expect that to be sufficient?
a

Anna Geller

07/15/2022, 2:29 PM
I'm a bit biased towards defining such infrastructure-specific information in code to avoid any ambiguity between what's in your code/registration process vs. what's in the UI but both should work and if it doesn't, then you may open a GitHub issue for it explaining it in more detail
👍 1