@Marvin Why manual retries from the UI work only for flow runs triggered from deployments?
m
Marvin
01/26/2023, 12:40 PM
I'm sorry, I don't have an answer to that question. However, I can provide you with a link to the Prefect documentation on Flow Runs which might help you answer your question: https://docs.prefect.io/ui/flow-runs/.
j
Jeremiah
01/26/2023, 2:43 PM
@Dmytro Ponomarchuk I’m not sure Marvin will have access to the right info to answer your question — essentially, a deployment tells Prefect where your code is and how to invoke it. Without a deployment, Prefect doesn’t know how to send an instruction to your code. That’s why retries are only available from the UI if there’s a deployment
d
Dmytro Ponomarchuk
01/26/2023, 2:58 PM
@Jeremiah I wonder why Prefect has all required information on first run and is not able to get it during a next retry run.
j
Jeremiah
01/26/2023, 2:59 PM
When you start a flow run without a deployment, Prefect itself has no information about the run or the code, it’s only collecting state information as the run progresses. For example, you can’t start a flow run (for the first time) from the UI if there isn’t a deployment