Migrating unversioned Temporal Workers to Worker Versioning: what the move involves
A team running production Temporal Workers without Worker Versioning needs to change them without stopping running Workflows. The move is a staged deployment: versioned Workers are deployed beside the unversioned ones, traffic is ramped onto the new versions, and idle Workflows are signalled so they move to the new code. The unversioned Workers keep running for the whole transition, so no Workflow is left without a Worker able to finish it. The sequence is what makes the change safe, and the team should plan each stage before touching production.
Start by confirming tooling. The migration described in the Temporal unversioned to versioned Worker migration guide requires Temporal CLI 1.5.0 or later, and the team should check the installed version on every workstation and pipeline that will run the commands. Next, confirm that the versioned Worker build is deployed but receives no Tasks until it is activated. That gives the team a window to verify the new deployment before any traffic reaches it. Ask who owns each step, who can ramp or roll back traffic, and where the signalling and ramp decisions are recorded, since those controls determine how quickly the team can respond to a problem.
The risks sit in the transition period. Unversioned Workers must not be shut down until every Workflow they own has finished or has been moved, so the decommission date should depend on observed Workflow state, not on the deployment calendar. Confirm with your own environment how many Workflows are still open on the old code, how long they typically run, and what monitoring will show whether idle Workflows are waking as expected. Each ramp increase should have a defined check and a rollback path. The duration of this work depends on your Workflow mix and traffic, so ask for a scoped plan that reflects your own numbers before committing a timeline.
Which unversioned worker practices carry over and which change
This table maps how teams usually run unversioned Temporal Workers today to what changes under Worker Versioning. Read each row as a question to answer for your own fleet: what stays as it is, what needs backward-compatible code, and what you must confirm in each environment before you ramp traffic.
| Practice today | Under Worker Versioning | What to confirm |
|---|---|---|
| One fleet runs all Workflow code | Versioned Workers are deployed alongside unversioned Workers, and each set receives its own Tasks once activated | Which Workers belong to which build, and how your deployment tooling labels them |
| Workflow code changes shipped in place | New code can be routed to a new version while running Workflows stay on the code path they started with | Whether in-flight Workflows still need determinism-safe patching or can move to the new version |
| Existing Task Queues | Task Queues remain the same names and are still used to dispatch Tasks | That no queue names or routing rules change during the migration |
| Running Workflows on old code | Idle Workflows must be signalled so they move to the versioned Workers | How long Workflows stay idle and whether signalling reaches all of them |
| Unversioned Workers during transition | Unversioned Workers keep running while traffic shifts to the versioned Workers | That you keep unversioned capacity until the ramp is complete and verified |
| Temporal CLI used for operations | Commands for deployment and ramping require Temporal CLI 1.5.0 or later | The CLI version installed on each operator workstation and CI runner |
| SDK code paths and Activities | Activity and Workflow code is still written with the same SDK, but must be backward compatible across versions | Which Workflow changes are compatible and which need a new version or a patch |
Documented tools for the switch to Worker Versioning
The migration described here uses a small set of documented pieces: the Temporal CLI, a versioned Worker deployment, traffic ramping and a signal that moves idle Workflows. The Kubernetes controller is out of scope for this page, so every step below is run from the CLI and your existing deployment tooling.
Temporal CLI 1.5.0 or later
The migration guide requires Temporal CLI 1.5.0 or later to manage Worker deployments, so the first check is the version your operators and automation actually run. Pin the CLI version in your runbooks and CI images, since an older binary may lack the commands the guide uses. Confirm the CLI can reach the target namespace with the credentials your team uses in production before the migration window opens.
Migration guideVersioned Worker deployment
You deploy the new build as a versioned Worker alongside the unversioned fleet. The documented behavior is that this versioned Worker receives no Tasks until it is activated, so the rollout can be checked for startup errors and connectivity before any production traffic reaches it. Record the build identifier you register so later ramp and rollback steps refer to the same version.
Traffic ramping
Once the versioned Worker is healthy, you shift Task routing to it in steps rather than all at once. Each step should watch Workflow failures, Activity retries and task latency on both fleets before the next increase. Decide in advance who can authorize a step and what result would send traffic back to the unversioned Workers.
Signal for idle Workflows
Workflows that are sleeping or waiting on a timer or signal stay pinned to the code version they started on until something wakes them. The guide describes signalling these idle Workflows so they move to the versioned Worker. Inventory which long-running Workflows will need this signal and how long they can stay on the old code before you retire it.
Unversioned Workers kept running
The guide asks you to keep unversioned Workers running for the whole transition, because Workflows that have not been woken or that are mid-Task still depend on them. Shutting the old fleet down early risks stranded Workflows and failed Tasks. Make the retirement of the unversioned Workers a separate decision, taken only after you have confirmed no Workflows remain on the old code.
Scope without the Kubernetes controller
The Kubernetes controller automates parts of worker deployment, and it is outside the path this page describes. Teams running Workers on Kubernetes should use the same CLI commands from their pipeline, and confirm that their own manifests and rollout tooling can register and activate versions. Ask your platform team who owns that tooling before the migration starts.
How to sequence the cutover from unversioned to versioned Workers
The sequence moves production Workflows from unversioned Workers to Worker Versioning in controlled stages, so that no Workflow is stranded and each stage has a clear check before the next begins.
Inventory Workers, Task Queues and Workflow types
The platform or Temporal owner lists every Worker deployment that polls production Task Queues, the Workflow and Activity types each one registers, and the namespaces they serve. Include the Workers' deployment method, such as Kubernetes, VMs or serverless, and which teams own each one. Check open Workflow executions per Workflow type in the Temporal Web UI or CLI so you know which code paths still have running executions. The output is a register of Workers and code paths that every later step refers to.
Make Workflow code backward compatible
Developers add version gates around any change in Workflow logic, so that replaying an existing Workflow history on new code takes the same path it took originally. Use the SDK's patching or versioning API for your language, and keep old branches in place until no open executions need them. Run replay tests against recorded histories from production before release. The output is a build that replays existing histories without non-determinism errors, and the owner signs off on the replay results.
Deploy the versioned Worker without routing traffic
The team deploys the new versioned Worker alongside the existing unversioned Workers. Under the migration guide, the versioned Worker receives no Tasks until it is activated, so this deployment does not change live behavior. Confirm in the Temporal CLI, at version 1.5.0 or later, that the new Worker deployment is registered and visible on its Task Queue but has no traffic. The output is a running versioned Worker that the service knows about and that handles no production Tasks.
Ramp traffic to the versioned Worker
The operator moves Task Queue traffic to the versioned Worker in increments, using the ramping controls that the migration guide describes. At each increment, the team watches Workflow Task failures, Activity failures, latency and Worker health on both Worker sets, and stops the ramp if error rates rise. New Workflow executions start on the versioned code once it takes traffic. The output is a versioned Worker serving new work at the target share, with dashboards that show it is healthy.
Signal idle Workflows so they move to the new version
Workflows that are waiting on a timer or signal stay on the code version they started with until something wakes them. The team uses the signalling method in the migration guide to send a signal to idle executions so they resume on the versioned Worker. Work in batches, and confirm each batch completes before sending the next. The output is a list of executions that were signalled, and a count of idle executions still on unversioned Workers.
Keep unversioned Workers running until they drain
Unversioned Workers stay deployed while any open Workflow or in-flight Activity depends on them. Monitor the open execution count for each Workflow type that only the old Workers can run, and do not scale them down because traffic has moved. Long-running Workflows may take a long time to finish, so do not set a deadline based on the migration plan alone. The output is a documented drain status per code path that shows whether old Workers still hold work.
Confirm no open Workflows need old versions before decommission
Before removing any unversioned Worker, the owner confirms that no open executions depend on the old code paths, by checking open execution counts and the signalled batch results from the previous step. Record the check and the approver, and keep a rollback path such as the prior Worker image until the check passes. Confirm the platform team has a written record of this result. The output is a signed decommission record that names the Workers removed and the evidence used.
Decommission old Workers and update runbooks
After the decommission record is approved, the team removes the unversioned Worker deployments, deletes their Task Queue registrations if no longer needed, and updates deployment pipelines, alerts and on-call runbooks to point at the versioned Worker. Remove the old version gates in a later code release only after replay tests confirm no histories still need them. The output is a production environment with only versioned Workers and updated operational documentation.
Why backward-compatible workflow code comes first
Workflow code must replay correctly against histories that the unversioned Workers already wrote, and that requirement comes before any traffic moves. A Temporal Workflow is rebuilt from its Event History each time a Worker picks up a task. If the new code issues commands in a different order, adds or removes a Activity call, or changes a timer or child Workflow in a way the recorded history does not match, the Worker fails with a non-determinism error. Those errors can sit on Workflows that have been running for days, so the first place to find them should be a test, not production. Versioned Workers do not remove this constraint. Once you move a running Workflow onto a new Build ID, the new code still has to replay the history the old code produced.
Before you deploy anything, run replay tests on the new code against a set of real histories exported from the production namespace, covering both long-running and recently started Workflows. Keep existing command sequences intact, and where behavior must change, guard the new path with the patching or versioning API of your SDK so that old histories still take the old branch. Confirm the exact mechanics in your own language: the replayer, the test environment, and the CI step that fails the build on a replay error. The SDK testing and replay pages in this series cover the details for each official SDK, so use them to check the test harness your team already runs before relying on it for this migration.
What drives the effort and duration of a Worker Versioning move
This table compares the factors that lengthen or shorten a move from unversioned to versioned Temporal Workers, and the costs each one creates. Read the one-time rows as work you pay for once, and the recurring rows as costs that continue for as long as two Worker sets or versioning discipline remain in place. The main takeaway is that the number of running Workflows and how much code must change usually matter more than the number of Workers.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number of Workers and Task Queues | Each Task Queue needs its own versioned deployment, ramp and idle-Workflow signalling, so effort grows with the queue count. | Group Workers that share code and release together, and confirm the grouping with your SDK team before planning. |
| Number and age of running Workflows | Long-running or old Workflows stay pinned to unversioned code until they finish or are signalled, which extends the transition window. | Inventory open Workflows by type and age before scheduling, and decide early which ones need a signal to move. |
| Code changes needed for compatibility | Existing Workflow definitions may need patching or versioning logic so replay on new code stays deterministic, which is one-time engineering and testing. | Freeze a baseline of current Workflow code, then review each change for replay safety with replay tests. |
| Number of environments and SDKs | Each environment and each language SDK repeats the deployment, ramp and verification steps, and the SDK version must support the required Temporal CLI version. | Start with one non-production environment and one SDK, then reuse the same runbook for the rest. |
| CI and deployment maturity | Teams without automated pipelines for building and deploying Worker images must build versioned deployments by hand, which adds one-time setup and recurring toil. | Automate Worker build, deploy and rollback steps before the migration so each version is repeatable. |
| Traffic ramp and rollback planning | Ramping traffic and holding unversioned Workers during transition requires monitoring, approval steps and a tested rollback path. | Define ramp checkpoints and the metrics that stop a ramp in advance, and rehearse rollback in staging. |
| Two Worker sets during transition (recurring) | Running unversioned and versioned Workers side by side consumes compute and operator attention until the old set can be retired. | Set a retirement condition for the unversioned set, such as no remaining open Workflows on the old version, and track it. |
| Ongoing versioning discipline (recurring) | After the move, every Workflow change needs a version decision and replay testing, which is a continuing team responsibility. | Write a short change policy and add replay checks to CI so the discipline is enforced rather than remembered. |
What usually goes wrong during versioned Worker rollouts
Most failed Worker Versioning rollouts break in the same few places: code changes that Workflows cannot replay, activation and traffic moves that outpace what the team can observe, and retirement that happens before old Workflows finish. Each risk below has a check you can run before the next step of the migration.
Non-deterministic changes reach running Workflows
Workflow code shipped to the new Worker is replayed against histories written by the old code. A changed command order, a renamed Activity, or a new branch without a version gate can make replay fail for Workflows already in progress. Before deploying, replay recorded histories from production against the new code in a test run and confirm that every history replays without a non-determinism error. Use the patching or versioning checks your SDK documents for each change.
Migration guideActivating the versioned Worker too early
The versioned Worker receives no Tasks until it is activated, so activation is the moment real traffic can reach new code. Activating before the Worker is healthy, before its logs and metrics are visible, or before the team agrees on a rollback target turns a planned ramp into an uncontrolled change. Confirm that the versioned Worker is connected and polling, that dashboards show its Task throughput at zero, and that a named owner can reverse the activation.
Ramping traffic faster than observability allows
Increasing the share of Tasks sent to the new version in large steps leaves little time to see failure rates, Activity retries or latency changes. Set ramp steps only as fast as your dashboards show Workflow and Activity failures for each version. Before each increase, check the error rate and retry counts for the new version against the unversioned baseline, and hold the ramp if either rises.
Retiring unversioned Workers too early
Workflows that were started on unversioned Workers stay bound to them. Stopping those Workers while such Workflows are still open leaves them without a Worker that can run their next Task. Before scaling the unversioned pool to zero, list open executions that began on the old code and confirm none remain, or that each has been moved to a version that can run it. Keep the unversioned Workers running until that check passes.
Idle Workflows that never receive a signal
A Workflow waiting on a timer or an external event may sit idle for days and will not move to the new version on its own. If the signal used to wake it is not sent, or is sent only to a subset of Workflows, those executions remain stuck on the old code path. Build a list of open idle Workflows from visibility queries, send the signal in batches, and check afterward that each Workflow advanced. Treat any Workflow still idle after the signal run as an open item for the cutover sign-off.
Questions teams ask before moving Workers to Worker Versioning
How much does moving unversioned Workers to Worker Versioning cost?
The cost is mostly the engineering time to make Workflow code backward compatible, build and test the versioned Worker, and run the ramp, so the size of your codebase and the number of Workflow types drive it most. Your team pays its own engineers, and a partner bills against the written scope, so ask for the quote to list each phase separately. Some costs recur, such as keeping unversioned and versioned Workers running during the transition and any Temporal Cloud or self-hosted infrastructure you already pay for. Temporal does not publish a fee for this migration itself. If you run Temporal Cloud, check its pricing page for current rates, since the page lists pay-as-you-go pricing and support add-ons separately, and confirm with Temporal which charges apply to your namespaces.
How long does a Worker Versioning migration take?
The timeline depends on how many Workflow types you have, how much of your code must change for backward compatibility, how many environments you test in, and how long your longest Workflows run. Traffic ramping and idle Workflow signalling can only be scheduled once the versioned Worker is tested, so long-running Workflows set the minimum period you keep old Workers alive. Map these inputs against your own Workflow histories before agreeing a date. Temporal's guide does not give a duration for this work, so ask your engineers or a partner to provide a written plan with milestones instead of a single estimate.
What does our team need to provide for the migration?
You need named code owners for each Workflow and Activity type, test environments that match production task queues and Worker builds, and read access to Workers and Workflow histories so the team can see what is running and on which code version. Operations staff must be able to deploy Workers, change routing and watch metrics during the ramp. Without these, the migration stalls at the first compatibility question. Confirm with your own change management process who approves each traffic shift and how rollback is authorized.
Can our in-house team do the Worker Versioning migration alone?
A team that already owns its Temporal Workers, understands determinism and runs its own deployment pipeline can usually do the work without outside help. The skills that matter most are changing Workflow code safely, running replay tests, and operating a staged rollout with rollback. A partner adds value when few engineers know the codebase, when many Workflow types need compatibility changes at once, or when your compliance team needs a documented change record. Whichever route you choose, the same written scope, test plan and cutover checklist apply. DeployOpen plans and delivers this kind of migration in infrastructure you control, under a fixed scope agreed in writing before work starts.
Does the Temporal CLI version matter for this migration?
Yes. Temporal's unversioned-to-versioned guide requires Temporal CLI 1.5.0 or later, so check your engineers' tooling and any automation that runs the CLI before you start. Install the same CLI version in the pipelines that deploy Workers and in the operator workstations used during the ramp. Confirm the CLI version you need against the migration guide, because older CLI releases may not include the commands the steps depend on.
What happens to Workflows that are still running during the move?
Running Workflows keep executing on the code version they started with, so you must keep unversioned Workers running until those Workflows finish or are moved. Temporal's guide describes signalling idle Workflows so they move to the versioned path, which means your Workflow code must handle that signal safely. Long-running Workflows, such as those waiting for days on a timer, extend how long old Workers stay in service. Before cutover, list all open Workflows by type and status, and decide which ones to signal, let finish, or handle manually. Test this path on a non-production namespace with a copy of real Workflow histories.
Which risks should we check before starting the ramp?
The main risks are non-deterministic changes in Workflow code that break replay of open Workflows, Workers left without a task queue route, and a rollback plan that depends on old Workers being removed too early. Each risk has a check: replay tests against recent production histories, a routing check that confirms every task queue has an active version, and a rule that old Workers stay deployed until the last open Workflow finishes. Ask your team to document who can stop the ramp and at what metric threshold, since the migration guide leaves those choices to your operations process.
How traffic moves from unversioned to versioned Workers
The migration starts with the existing unversioned Workers still serving all Tasks while backward-compatible code is prepared and the versioned Worker is deployed. The versioned Worker receives no Tasks until it is activated, so traffic moves only when you ramp it up. Each ramp step is a decision point: continue ramping if Workflow behavior and Task processing look healthy, or roll back by returning traffic to the unversioned Workers. Idle Workflows are signalled to move to the new version, and the unversioned Workers are drained and decommissioned only after no Workflows remain on them.
Phases and decision points for moving Tasks from unversioned to versioned Workers.
How DeployOpen works on this
DeployOpen scopes the move from unversioned to versioned Temporal Workers as a written, fixed-scope engagement covering your worker code, deployment pipeline, task queues and running workflows. The work runs inside your own infrastructure, with unversioned Workers kept running until the transition is complete and verified.
How we scope
- We inventory the workers, task queues, Workflow Types and Activities that are in production today.
- We review workflow code for changes that would break replay of running Workflows before any deployment is planned.
- We agree the scope, deliverables and timeline in writing before work starts, with an ongoing retainer available afterward.
How we build
- We prepare backward-compatible code changes and the Temporal CLI 1.5.0 or later tooling the migration depends on.
- We deploy the versioned Worker alongside the unversioned Workers and confirm it receives no Tasks until activated.
- We test traffic ramping and idle Workflow signalling in a non-production namespace before any production change.
How we hand over
- You receive the migration runbook covering ramp steps, rollback points and the conditions for retiring unversioned Workers.
- You receive documented worker deployment configuration, versioning settings and a record of the verification results.
- We walk your platform and on-call engineers through monitoring of Workflow progress and Worker health during and after the ramp.
How we support
- Support after handover can cover later Temporal Server upgrades and worker releases under a retainer.
- We can retest worker deployment changes whenever your Workflow code or Worker versions change.
- Ask any quote to name the environments, namespaces and worker fleets covered, so you can confirm the support boundary.

