You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/upgrade-to-v4.mdx
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -713,5 +713,16 @@ We recommend the following steps to migrate to the new run engine:
713
713
714
714
1. Upgrade to the v4 package.
715
715
2. Run the `trigger dev` CLI command and test your tasks locally, fixing any breaking changes.
716
-
3. Deploy to the staging environment and test your tasks in staging, fixing any breaking changes.
717
-
4. Once you've verified that the new run engine is working as expected, you can deploy to the production environment.
716
+
3. Deploy to the staging environment and test your tasks in staging, fixing any breaking changes. (this step is optional, but recommended)
717
+
4. Once you've verified that the new run engine is working as expected, you should deploy your application backend with the updated v4 package.
718
+
5. Once you've deployed your application backend, you should deploy your tasks to the production environment.
719
+
720
+
Note that between steps 4 and 5, runs triggered with the v4 package will continue using the previous engine, and only new runs triggered after step 5 is complete will use the new engine.
721
+
722
+
<Warning>
723
+
Once the new run engine is activated, there will be a period of time where old runs will continue
724
+
to execute using the previous engine, while new runs will use the new engine. Because these
725
+
engines use completely different underlying queues and concurrency models, it's possible you may
726
+
have up to double the amount of concurrently executing runs. Once the runs drain from the old run
0 commit comments