File tree Expand file tree Collapse file tree
temporal/api/deployment/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1390813908 "format": "int64",
1390913909 "description": "The revision number of the source deployment version of the parent/previous workflow."
1391013910 },
13911- "useRampingVersion ": {
13912- "type ": "boolean ",
13913- "description": "Use the ramping version of the workflow's task queue regardless of Target Version = f(workflow_id, ramp_percentage) ."
13911+ "initialVersioningBehavior ": {
13912+ "$ref ": "#/definitions/v1ContinueAsNewVersioningBehavior ",
13913+ "description": "The initial continue-as-new versioning behavior.\nNot passed to children or to future continue-as-new ."
1391413914 }
1391513915 },
1391613916 "description": "Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version\nto a workflow execution whose parent/previous workflow has an AutoUpgrade behavior.\nAlso used for Upgrade-on-CaN behaviors AutoUpgrade and UseRampingVersion."
Original file line number Diff line number Diff line change @@ -10868,9 +10868,16 @@ components:
1086810868 sourceDeploymentRevisionNumber:
1086910869 type: string
1087010870 description: The revision number of the source deployment version of the parent/previous workflow.
10871- useRampingVersion:
10872- type: boolean
10873- description: Use the ramping version of the workflow's task queue regardless of Target Version = f(workflow_id, ramp_percentage).
10871+ initialVersioningBehavior:
10872+ enum:
10873+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_UNSPECIFIED
10874+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_AUTO_UPGRADE
10875+ - CONTINUE_AS_NEW_VERSIONING_BEHAVIOR_USE_RAMPING_VERSION
10876+ type: string
10877+ description: |-
10878+ The initial continue-as-new versioning behavior.
10879+ Not passed to children or to future continue-as-new.
10880+ format: enum
1087410881 description: |-
1087510882 Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version
1087610883 to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ option csharp_namespace = "Temporalio.Api.Deployment.V1";
1111
1212import "google/protobuf/timestamp.proto" ;
1313
14+ import "temporal/api/enums/v1/workflow.proto" ;
1415import "temporal/api/enums/v1/deployment.proto" ;
1516import "temporal/api/enums/v1/task_queue.proto" ;
1617import "temporal/api/common/v1/message.proto" ;
@@ -322,6 +323,7 @@ message InheritedAutoUpgradeInfo {
322323 temporal.api.deployment.v1.WorkerDeploymentVersion source_deployment_version = 1 ;
323324 // The revision number of the source deployment version of the parent/previous workflow.
324325 int64 source_deployment_revision_number = 2 ;
325- // Use the ramping version of the workflow's task queue regardless of Target Version = f(workflow_id, ramp_percentage).
326- bool use_ramping_version = 3 ;
326+ // The initial continue-as-new versioning behavior.
327+ // Not passed to children or to future continue-as-new.
328+ temporal.api.enums.v1.ContinueAsNewVersioningBehavior initial_versioning_behavior = 3 ;
327329}
You can’t perform that action at this time.
0 commit comments