@@ -1268,10 +1268,10 @@ message GetSystemInfoResponse {
12681268 // This flag is dependent both on server version and for Nexus to be enabled via server configuration.
12691269 bool nexus = 11 ;
12701270
1271- // True if the server supports serverless deployments.
1272- // This flag is dependent both on server version and for serverless deployments
1271+ // True if the server supports server-scaled deployments.
1272+ // This flag is dependent both on server version and for server-scaled deployments
12731273 // to be enabled via server configuration.
1274- bool serverless_deployments = 12 ;
1274+ bool server_scaled_deployments = 12 ;
12751275
12761276 }
12771277}
@@ -2353,10 +2353,6 @@ message CreateWorkerDeploymentRequest {
23532353 // this name already exists, an error will be returned.
23542354 string deployment_name = 2 ;
23552355
2356- // Optional. Contains the new worker compute configuration for the Worker
2357- // Deployment. Used for worker scale management.
2358- temporal.api.compute.v1.ComputeConfig compute_config = 3 ;
2359-
23602356 // Optional. The identity of the client who initiated this request.
23612357 string identity = 4 ;
23622358 // A unique identifier for this create request for idempotence. Typically UUIDv4.
@@ -2402,20 +2398,16 @@ message CreateWorkerDeploymentVersionRequest {
24022398 // Required.
24032399 temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 2 ;
24042400
2405- // All the Task Queues that will be polled from this Deployment version.
2406- repeated VersionTaskQueueInfo task_queue_infos = 6 ;
2407- message VersionTaskQueueInfo {
2408- string name = 1 ;
2409- temporal.api.enums.v1.TaskQueueType type = 2 ;
2410- }
2411-
24122401 // Optional. Contains the new worker compute configuration for the Worker
24132402 // Deployment. Used for worker scale management.
2414- temporal.api.compute.v1.ComputeConfig compute_config = 3 ;
2403+ temporal.api.compute.v1.ComputeConfig compute_config = 4 ;
24152404
24162405 // Optional. The identity of the client who initiated this request.
2417- string identity = 4 ;
2406+ string identity = 3 ;
2407+
24182408 // A unique identifier for this create request for idempotence. Typically UUIDv4.
2409+ // If a second request with the same ID is recieved, it is considered a successful no-op.
2410+ // Retrying with a different request ID for the same deployment name + build ID is an error.
24192411 string request_id = 5 ;
24202412}
24212413
@@ -2460,22 +2452,56 @@ message DeleteWorkerDeploymentRequest {
24602452message DeleteWorkerDeploymentResponse {
24612453}
24622454
2463- // Used to update the compute provider of a Worker Deployment Version.
2464- message UpdateWorkerDeploymentVersionComputeProviderRequest {
2455+ // Used to update the compute config of a Worker Deployment Version.
2456+ message UpdateWorkerDeploymentVersionComputeConfigRequest {
24652457 string namespace = 1 ;
24662458
24672459 // Required.
24682460 temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 2 ;
24692461
2470- // Optional. Contains the new worker compute configuration for the Worker
2471- // Deployment. Used for worker scale management.
2472- temporal.api.compute.v1.ComputeConfig compute_config = 3 ;
2462+ // Optional. Contains the compute config scaling groups to add or updated for the Worker
2463+ // Deployment.
2464+ repeated temporal.api.compute.v1.ComputeConfig.ScalingGroup compute_config_scaling_groups = 6 ;
2465+
2466+ // Optional. Contains the compute config scaling groups to remove from the Worker Deployment.
2467+ repeated temporal.api.compute.v1.ComputeConfig.ScalingGroup remove_compute_config_scaling_groups = 7 ;
24732468
24742469 // Optional. The identity of the client who initiated this request.
2475- string identity = 4 ;
2470+ string identity = 3 ;
2471+
2472+ // A unique identifier for this create request for idempotence. Typically UUIDv4.
2473+ // If a second request with the same ID is recieved, it is considered a successful no-op.
2474+ // Retrying with a different request ID for the same deployment name + build ID is an error.
2475+ string request_id = 4 ;
2476+
2477+ // This value is returned so that it can be optionally passed to APIs
2478+ // that write to the Worker Deployment state to ensure that the state
2479+ // did not change between this API call and a future write.
2480+ bytes conflict_token = 5 ;
2481+ }
2482+
2483+ message UpdateWorkerDeploymentVersionComputeConfigResponse {
2484+ // This value is returned so that it can be optionally passed to APIs that
2485+ // write to the WorkerDeployment state to ensure that the state did not
2486+ // change between this API call and a future write.
2487+ bytes conflict_token = 1 ;
2488+ }
2489+
2490+ // Used to validate the compute config without attaching it to a Worker Deployment Version.
2491+ message ValidateWorkerDeploymentVersionComputeConfigRequest {
2492+ string namespace = 1 ;
2493+
2494+ // Required.
2495+ string deployment_name = 2 ;
2496+
2497+ // Required. Contains the new worker compute configuration for the Worker Deployment.
2498+ temporal.api.compute.v1.ComputeConfig compute_config = 4 ;
2499+
2500+ // Optional. The identity of the client who initiated this request.
2501+ string identity = 3 ;
24762502}
24772503
2478- message UpdateWorkerDEploymentVersionComputeProviderResponse {
2504+ message ValidateWorkerDeploymentVersionComputeConfigResponse {
24792505}
24802506
24812507// Used to update the user-defined metadata of a Worker Deployment Version.
0 commit comments