Skip to content

Commit 56731f0

Browse files
committed
Upgrade to v4 docs
1 parent c38eec6 commit 56731f0

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/upgrade-to-v4.mdx

+13-2
Original file line numberDiff line numberDiff line change
@@ -713,5 +713,16 @@ We recommend the following steps to migrate to the new run engine:
713713

714714
1. Upgrade to the v4 package.
715715
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
727+
engine, the concurrency will return to normal.
728+
</Warning>

0 commit comments

Comments
 (0)