Skip to content

Commit 6fb0a9a

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 6fb0a9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,14 @@ message RespondWorkflowTaskCompletedRequest {
377377
// Worker deployment options that user has set in the worker.
378378
temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17;
379379

380+
// A unique key for this worker instance, used for tracking worker lifecycle.
381+
// This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
382+
string worker_instance_key = 18;
383+
384+
// The task queue on which the server will send control tasks to this worker.
385+
// Example: Cancel activity, update config, etc.
386+
string nexus_task_queue = 19;
387+
380388
// SDK capability details.
381389
message Capabilities {
382390
// True if the SDK can handle speculative workflow task with command events. If true, the

0 commit comments

Comments
 (0)