You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add compute_config to WorkerDeploymentVersionSummary (#756)
<!-- Describe what has changed in this PR -->
**What changed?**
- Add compute_config to WorkerDeploymentVersionSummary
- Cleaned up "experimental" comments from WV messages.
<!-- Tell your future self why have you made these changes -->
**Why?**
- Need compute config summary for UI
- WV is now GA, so "experimental" tags are not correct.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
None.
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
No new APIs added.
description: "Each scaling group describes a compute config for a specific subset of the worker \n deployment version: covering a specific set of task types and/or regions.\n Having different configurations for different task types, allows independent\n tuning of activity and workflow task processing (for example).\n\n The key of the map is the ID of the scaling group used to reference it in subsequent\n update calls."
9380
+
description: |-
9381
+
Each scaling group describes a compute config for a specific subset of the worker
9382
+
deployment version: covering a specific set of task types and/or regions.
9383
+
Having different configurations for different task types, allows independent
9384
+
tuning of activity and workflow task processing (for example).
9385
+
9386
+
The key of the map is the ID of the scaling group used to reference it in subsequent
9387
+
update calls.
9381
9388
description: |-
9382
9389
ComputeConfig stores configuration that helps a worker control plane
9383
9390
controller understand *when* and *how* to respond to worker lifecycle
@@ -9395,7 +9402,10 @@ components:
9395
9402
- TASK_QUEUE_TYPE_NEXUS
9396
9403
type: string
9397
9404
format: enum
9398
-
description: "Optional. The set of task queue types this scaling group serves. \n If not provided, this scaling group serves all not otherwise defined\n task types."
9405
+
description: |-
9406
+
Optional. The set of task queue types this scaling group serves.
9407
+
If not provided, this scaling group serves all not otherwise defined
9408
+
task types.
9399
9409
provider:
9400
9410
allOf:
9401
9411
- $ref: '#/components/schemas/ComputeProvider'
@@ -9408,6 +9418,21 @@ components:
9408
9418
description: |-
9409
9419
Informs a worker lifecycle controller *when* and *how often* to perform
9410
9420
certain worker lifecycle actions like starting a serverless worker.
description: A subset of information in ComputeConfig optimized for list views.
9427
9460
ComputeProvider:
9428
9461
type: object
9429
9462
properties:
@@ -10835,7 +10868,9 @@ components:
10835
10868
sourceDeploymentRevisionNumber:
10836
10869
type: string
10837
10870
description: The revision number of the source deployment version of the parent/previous workflow.
10838
-
description: "Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version \n to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior."
10871
+
description: |-
10872
+
Used as part of WorkflowExecutionStartedEventAttributes to pass down the AutoUpgrade behavior and source deployment version
10873
+
to a workflow execution whose parent/previous workflow has an AutoUpgrade behavior.
10839
10874
Input:
10840
10875
type: object
10841
10876
properties:
@@ -14905,7 +14940,6 @@ components:
14905
14940
type: string
14906
14941
description: Last time versioning information of this Task Queue changed.
14907
14942
format: date-time
14908
-
description: Experimental. Worker Deployments are experimental and might significantly change in the future.
14909
14943
TerminateActivityExecutionRequest:
14910
14944
type: object
14911
14945
properties:
@@ -15719,7 +15753,6 @@ components:
15719
15753
description: |-
15720
15754
Information about workflow drainage to help the user determine when it is safe
15721
15755
to decommission a Version. Not present while version is current or ramping.
15722
-
Experimental. Worker Deployments are experimental and might significantly change in the future.
15723
15756
VersionInfo:
15724
15757
type: object
15725
15758
properties:
@@ -15910,7 +15943,14 @@ components:
15910
15943
Indicates whether the routing_config has been fully propagated to all
15911
15944
relevant task queues and their partitions.
15912
15945
format: enum
15913
-
description: "A Worker Deployment (Deployment, for short) represents all workers serving \n a shared set of Task Queues. Typically, a Deployment represents one service or \n application.\n A Deployment contains multiple Deployment Versions, each representing a different \n version of workers. (see documentation of WorkerDeploymentVersionInfo)\n Deployment records are created in Temporal server automatically when their\n first poller arrives to the server.\n Experimental. Worker Deployments are experimental and might significantly change in the future."
15946
+
description: |-
15947
+
A Worker Deployment (Deployment, for short) represents all workers serving
15948
+
a shared set of Task Queues. Typically, a Deployment represents one service or
15949
+
application.
15950
+
A Deployment contains multiple Deployment Versions, each representing a different
15951
+
version of workers. (see documentation of WorkerDeploymentVersionInfo)
15952
+
Deployment records are created in Temporal server automatically when their
Timestamp when this version last stopped being current or ramping.
15985
16025
Cleared if the version becomes current or ramping again.
15986
16026
format: date-time
16027
+
computeConfig:
16028
+
$ref: '#/components/schemas/ComputeConfigSummary'
15987
16029
WorkerDeploymentOptions:
15988
16030
type: object
15989
16031
properties:
@@ -16006,9 +16048,7 @@ components:
16006
16048
same `deployment_name` and `build_id` combination, across all Task Queues.
16007
16049
When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version.
16008
16050
format: enum
16009
-
description: |-
16010
-
Worker Deployment options set in SDK that need to be sent to server in every poll.
16011
-
Experimental. Worker Deployments are experimental and might significantly change in the future.
16051
+
description: Worker Deployment options set in SDK that need to be sent to server in every poll.
16012
16052
WorkerDeploymentVersion:
16013
16053
type: object
16014
16054
properties:
@@ -16138,7 +16178,13 @@ components:
16138
16178
- `CreateWorkerDeploymentVersion`
16139
16179
- `UpdateWorkerDeploymentVersionComputeConfig`
16140
16180
- `UpdateWorkerDeploymentVersionMetadata`
16141
-
description: "A Worker Deployment Version (Version, for short) represents all workers of the same \n code and config within a Deployment. Workers of the same Version are expected to \n behave exactly the same so when executions move between them there are no \n non-determinism issues.\n Worker Deployment Versions are created in Temporal server automatically when \n their first poller arrives to the server.\n Experimental. Worker Deployments are experimental and might significantly change in the future."
16181
+
description: |-
16182
+
A Worker Deployment Version (Version, for short) represents all workers of the same
16183
+
code and config within a Deployment. Workers of the same Version are expected to
16184
+
behave exactly the same so when executions move between them there are no
16185
+
non-determinism issues.
16186
+
Worker Deployment Versions are created in Temporal server automatically when
16187
+
their first poller arrives to the server.
16142
16188
WorkerDeploymentVersionInfo_VersionTaskQueueInfo:
16143
16189
type: object
16144
16190
properties:
@@ -16904,9 +16950,7 @@ components:
16904
16950
Experimental. Versioning info is experimental and might change in the future.
16905
16951
workerDeploymentName:
16906
16952
type: string
16907
-
description: |-
16908
-
The name of Worker Deployment that completed the most recent workflow task.
16909
-
Experimental. Worker Deployments are experimental and might change in the future.
16953
+
description: The name of Worker Deployment that completed the most recent workflow task.
16910
16954
priority:
16911
16955
allOf:
16912
16956
- $ref: '#/components/schemas/Priority'
@@ -17693,21 +17737,18 @@ components:
17693
17737
description: |-
17694
17738
The Worker Deployment Version that completed this task. Must be set if `versioning_behavior`
17695
17739
is set. This value updates workflow execution's `versioning_info.version`.
17696
-
Experimental. Worker Deployments are experimental and might significantly change in the future.
17697
17740
Deprecated. Replaced with `deployment_version`.
17698
17741
workerDeploymentName:
17699
17742
type: string
17700
17743
description: |-
17701
17744
The name of Worker Deployment that completed this task. Must be set if `versioning_behavior`
17702
17745
is set. This value updates workflow execution's `worker_deployment_name`.
17703
-
Experimental. Worker Deployments are experimental and might significantly change in the future.
0 commit comments