Open EmilRex opened 2 weeks ago
good idea @EmilRex! what do you think about this?
i.e. as a related resource on a prefect.worker.executed-flow-run
event
but this would also show in prefect.worker.submitted-flow-run
events
@zzstoatzz I think that would be great, especially since we're showing the events so well with the new run tracing. I love it!
Describe the current behavior
Currently you can see which image was used to execute a deployment-triggered flow run by looking at the flow run job variables, the deployment itself, and the work pool configuration. If the image used is not uniquely enough identified (i.e.
prefecthq/prefect:3-latest
) it is not possible to determine exactly which image was used.Describe the proposed behavior
It would be exceptionally nifty if the image sha used to run a deployment was logged or otherwise associated with a flow run. Additionally it would be great to also see the image name used as it can possibly live in the three places described above. The image sha can be particularly helpful when an image may or may not be cached on a node, such as in k8s.
Example Use
No response
Additional context
No response