Skip to content

Commit c6aa19b

Browse files
rkannan82claude
andauthored
Add worker_commands namespace capability (#771)
## What Add `worker_commands` bool field to capabilities. ## Why This feature requires SDK to implicitly create a new task queue and poller per process. Preferable to do this in a controlled manner. ## How did you test it? Build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 01e1cde commit c6aa19b

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15476,6 +15476,10 @@
1547615476
"pollerAutoscaling": {
1547715477
"type": "boolean",
1547815478
"title": "True if the namespace supports poller autoscaling"
15479+
},
15480+
"workerCommands": {
15481+
"type": "boolean",
15482+
"description": "True if the namespace supports worker commands (server-to-worker communication via control queues)."
1547915483
}
1548015484
},
1548115485
"description": "Namespace capability details. Should contain what features are enabled in a namespace."

openapi/openapiv3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12077,6 +12077,9 @@ components:
1207712077
pollerAutoscaling:
1207812078
type: boolean
1207912079
description: True if the namespace supports poller autoscaling
12080+
workerCommands:
12081+
type: boolean
12082+
description: True if the namespace supports worker commands (server-to-worker communication via control queues).
1208012083
description: Namespace capability details. Should contain what features are enabled in a namespace.
1208112084
NamespaceInfo_Limits:
1208212085
type: object

temporal/api/namespace/v1/message.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ message NamespaceInfo {
5050
bool worker_poll_complete_on_shutdown = 8;
5151
// True if the namespace supports poller autoscaling
5252
bool poller_autoscaling = 9;
53+
// True if the namespace supports worker commands (server-to-worker communication via control queues).
54+
bool worker_commands = 10;
5355
}
5456

5557
// Namespace configured limits

0 commit comments

Comments
 (0)