Table of Contents

Enum WorkerDeploymentVersionStatus

Namespace
Temporalio.Api.Enums.V1
Assembly
Temporalio.dll

(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the status of a Worker Deployment Version. Experimental. Worker Deployments are experimental and might significantly change in the future.

public enum WorkerDeploymentVersionStatus

Fields

[OriginalName("WORKER_DEPLOYMENT_VERSION_STATUS_CURRENT")] Current = 2

The Worker Deployment Version is the current version of the Worker Deployment. All new workflow executions and tasks of existing unversioned or AutoUpgrade workflows are routed to this version.

[OriginalName("WORKER_DEPLOYMENT_VERSION_STATUS_DRAINED")] Drained = 5

The Worker Deployment Version is not used by new or open workflows, but might be still needed by Queries sent to closed workflows. The version can be decommissioned safely if user does not query closed workflows. If the user does query closed workflows for some time x after workflows are closed, they should decommission the version after it has been drained for that duration.

[OriginalName("WORKER_DEPLOYMENT_VERSION_STATUS_DRAINING")] Draining = 4

The Worker Deployment Version is not used by new workflows but is still used by open pinned workflows. The version cannot be decommissioned safely.

[OriginalName("WORKER_DEPLOYMENT_VERSION_STATUS_INACTIVE")] Inactive = 1

The Worker Deployment Version has been created inside the Worker Deployment but is not used by any workflow executions. These Versions can still have workflows if they have an explicit Versioning Override targeting this Version. Such Versioning Override could be set at workflow start time, or at a later time via UpdateWorkflowExecutionOptions.

[OriginalName("WORKER_DEPLOYMENT_VERSION_STATUS_RAMPING")] Ramping = 3

The Worker Deployment Version is the ramping version of the Worker Deployment. A subset of new Pinned workflow executions are routed to this version. Moreover, a portion of existing unversioned or AutoUpgrade workflow executions are also routed to this version.

[OriginalName("WORKER_DEPLOYMENT_VERSION_STATUS_UNSPECIFIED")] Unspecified = 0