How do I upgrade an on‑flight workflow to use the latest deployed code?
I have a long-running workflow that can sleep for weeks or even months. In the meantime we found bugs in our steps code, so we now have many on‑flight workflows that will execute wrong code logic in the future. How can I upgrade the on‑flight workflows to the latest code version?