If i’m updating the code of a deployed flow, do i need to delete the flow and redploy? Or will runs reflect the changed code automatically?
04/21/2023, 12:53 AM
That depends. You don’t need to delete the deployment.
If you are making changes to the entrypoint flow’s params, for example, you’ll want to redeploy. The deployment will be updated.
With some storage, for example S3 , you can redeploy and have the flow code pushed - which is something you’d want.
If you’re using Prefect Projects, introduced in 2.10, the build, push, and pull steps help you see more clearly what’s being built, pushed, and pulled when you run a deployment.
05/02/2023, 6:17 PM
Okay- great. I’ll look into Prefect Projects, thanks @Jeff Hale!