Skip to content

Commit d940f4e

Browse files
committed
Add worker_instance_key to RespondWorkflowTaskCompletedRequest
This enables the server to track which worker is executing eager-dispatched activities, allowing activity cancellation to be routed correctly.
1 parent e966760 commit d940f4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ message RespondWorkflowTaskCompletedRequest {
376376
temporal.api.enums.v1.VersioningBehavior versioning_behavior = 16;
377377
// Worker deployment options that user has set in the worker.
378378
temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17;
379+
// A unique key for this worker instance, used for tracking worker lifecycle.
380+
// This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
381+
string worker_instance_key = 18;
379382

380383
// SDK capability details.
381384
message Capabilities {

0 commit comments

Comments
 (0)