https://prefect.io logo
c

Chris Arderne

02/16/2022, 11:49 AM
How strongly unique are the <adjective>-<animal> Flow run names that Prefect Cloud generates? Should I append a timestamp/uuid if I want a strong guarantee against collisions?
a

Anna Geller

02/16/2022, 11:54 AM
collision is extremely unlikely but if you need a unique identifier of a flow run, it's better to use a flow run ID (which is a UUID) rather than flow run name
c

Chris Arderne

02/16/2022, 12:01 PM
👍 just trying to find the right balance of user-friendly (flow run names are prominent and memorable, and match with k8s pod names) and not causing a headache.
a

Anna Geller

02/16/2022, 12:03 PM
Gotcha. There is no direct way to supply a flow run name atm, you can only do it with a RenameFlowRun task
c

Chris Arderne

02/16/2022, 12:42 PM
Yes I've been doing that, but it obviously doesn't rename the pods, so I think I'm rather going to just piggy-back on the cute animal names 🙂
👍 1
a

Anna Geller

02/16/2022, 12:59 PM
Some users consider it quite educational 😄