Skip to content

Commit 852ee3b

Browse files
rkannan82claude
andauthored
Add poller_autoscaling_auto_enroll namespace capability (#803)
## What Add a new `poller_autoscaling_auto_enroll` boolean field to `NamespaceInfo.Capabilities`. ## Why Today, poller autoscaling requires explicit SDK-side opt-in via worker options. This capability lets the server tell SDKs to automatically enroll workers in poller autoscaling for specific namespaces, controlled by a namespace-scoped dynamic config — no user code changes needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7e04182 commit 852ee3b

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
@@ -16739,6 +16739,10 @@
1673916739
"workflowUpdateCallbacks": {
1674016740
"type": "boolean",
1674116741
"title": "True if the namespace supports attaching callbacks on workflow updates"
16742+
},
16743+
"pollerAutoscalingAutoEnroll": {
16744+
"type": "boolean",
16745+
"description": "When true, workers should use poller autoscaling by default unless explicitly configured otherwise."
1674216746
}
1674316747
},
1674416748
"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
@@ -13141,6 +13141,9 @@ components:
1314113141
workflowUpdateCallbacks:
1314213142
type: boolean
1314313143
description: True if the namespace supports attaching callbacks on workflow updates
13144+
pollerAutoscalingAutoEnroll:
13145+
type: boolean
13146+
description: When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
1314413147
description: Namespace capability details. Should contain what features are enabled in a namespace.
1314513148
NamespaceInfo_Limits:
1314613149
type: object

temporal/api/namespace/v1/message.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ message NamespaceInfo {
5656
bool standalone_nexus_operation = 11;
5757
// True if the namespace supports attaching callbacks on workflow updates
5858
bool workflow_update_callbacks = 12;
59+
// When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
60+
bool poller_autoscaling_auto_enroll = 13;
5961
}
6062

6163
// Namespace configured limits

0 commit comments

Comments
 (0)