Hi everyone! I want to rerun a prefect flow that failed. I changed a part of my code to debug the fail. If I retry a flow from the UI, would it retry with my updated code? Or would you suggest "copy to new run" to make sure it will run my updated code?
n
Nate
09/04/2024, 4:14 PM
hi @Nevin Yilmaz - it depends on where your code lives and how your deployment fetches it!
how did you deploy? for example, if you use
then you'd need to push your code to that repo before running again, since the code will get fetched from that repo at runtime
n
Nevin Yilmaz
09/04/2024, 4:21 PM
Thanks! Yes, I pushed the new code to the repo that the flow is pulling from. I clicked on retry and confirmed that my new code is running from the logs I get. So it was updated and the flow retry runs the updated code!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.