Skip to content

Commit a9683cf

Browse files
rkannan82claude
andcommitted
Rename shutdown_worker_rejected to rejected_by_worker_shutdown
The old name was ambiguous — it could read as "the shutdown-worker request was rejected." The new name clarifies that the poll was rejected because of a worker shutdown. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 67891ac commit a9683cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ message PollWorkflowTaskQueueResponse {
341341
// When true, this empty response was caused by the server rejecting the poll
342342
// because the worker has been shut down via the ShutdownWorker API. The SDK
343343
// should stop polling on this task queue.
344-
bool shutdown_worker_rejected = 17;
344+
bool rejected_by_worker_shutdown = 17;
345345
}
346346

347347
message RespondWorkflowTaskCompletedRequest {
@@ -543,7 +543,7 @@ message PollActivityTaskQueueResponse {
543543
// When true, this empty response was caused by the server rejecting the poll
544544
// because the worker has been shut down via the ShutdownWorker API. The SDK
545545
// should stop polling on this task queue.
546-
bool shutdown_worker_rejected = 21;
546+
bool rejected_by_worker_shutdown = 21;
547547
}
548548

549549
message RecordActivityTaskHeartbeatRequest {
@@ -1934,7 +1934,7 @@ message PollNexusTaskQueueResponse {
19341934
// When true, this empty response was caused by the server rejecting the poll
19351935
// because the worker has been shut down via the ShutdownWorker API. The SDK
19361936
// should stop polling on this task queue.
1937-
bool shutdown_worker_rejected = 4;
1937+
bool rejected_by_worker_shutdown = 4;
19381938
}
19391939

19401940
message RespondNexusTaskCompletedRequest {

0 commit comments

Comments
 (0)