This sample illustrates how to use Build ID based versioning to help you appropriately roll out incompatible and compatible changes to workflow and activity code for the same task queue.
The sample shows you how to roll out both a compatible change and an incompatible change to a workflow.
temporal server start-dev --dynamic-config-value frontend.workerVersioningDataAPIs=true --dynamic-config-value frontend.workerVersioningWorkflowAPIs=true --dynamic-config-value worker.buildIdScavengerEnabled=true
to start Temporal Server with Worker Versioning enabled.npm install
to install dependencies.npm run example
to run the example. It starts multiple workers and workflows and demonstrates their interaction.