Wei Mei

04/07/2022, 8:20 PM
Hi! I have a flow using github storage that is scheduled to run (using prefect cloud). If I push new code and register it with, are the currently already scheduled runs going to use the new code when triggered?
prefect register --project $PREFECT_PROJECT_NAME --path flows/ --label prod --no-schedule

Kevin Kho

04/07/2022, 8:21 PM
Yes because Github storage is fetched during runtime anyway. You are setting it in the UI?
When using that though, the safest thing is toggling the schedule on and off
:thank-you: 1

Wei Mei

04/07/2022, 8:23 PM
yes, the current iteration I configured the schedule in the UI.
thanks, easy enough!