From f93711f9e4bbcbc29e3f4ddbfcb2846aac8dfafd Mon Sep 17 00:00:00 2001 From: Kannan Rajah Date: Fri, 12 Jun 2026 15:30:00 -0700 Subject: [PATCH 1/3] Add poller_autoscaling_auto_enroll namespace capability Co-Authored-By: Claude Opus 4.6 --- temporal/api/namespace/v1/message.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/temporal/api/namespace/v1/message.proto b/temporal/api/namespace/v1/message.proto index 1e07f6cd3..75d7b8736 100644 --- a/temporal/api/namespace/v1/message.proto +++ b/temporal/api/namespace/v1/message.proto @@ -52,6 +52,8 @@ message NamespaceInfo { bool poller_autoscaling = 9; // True if the namespace supports worker commands (server-to-worker communication via control queues). bool worker_commands = 10; + // True if workers in this namespace should automatically use poller autoscaling without explicit opt-in. + bool poller_autoscaling_auto_enroll = 11; } // Namespace configured limits From 39f42473a8a9557eb7caa5c435afe7a91794d534 Mon Sep 17 00:00:00 2001 From: Kannan Rajah Date: Fri, 12 Jun 2026 16:42:55 -0700 Subject: [PATCH 2/3] Reword poller_autoscaling_auto_enroll comment Co-Authored-By: Claude Opus 4.6 --- temporal/api/namespace/v1/message.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporal/api/namespace/v1/message.proto b/temporal/api/namespace/v1/message.proto index 2e0ce0886..a8b49dc8c 100644 --- a/temporal/api/namespace/v1/message.proto +++ b/temporal/api/namespace/v1/message.proto @@ -56,7 +56,7 @@ message NamespaceInfo { bool standalone_nexus_operation = 11; // True if the namespace supports attaching callbacks on workflow updates bool workflow_update_callbacks = 12; - // True if workers in this namespace should automatically use poller autoscaling without explicit opt-in. + // When true, workers should use poller autoscaling by default unless explicitly configured otherwise. bool poller_autoscaling_auto_enroll = 13; } From 849c9b08ee08776a3493c4ddf16165ec92068a0f Mon Sep 17 00:00:00 2001 From: Kannan Rajah Date: Fri, 12 Jun 2026 17:22:16 -0700 Subject: [PATCH 3/3] Regenerate OpenAPI files Co-Authored-By: Claude Opus 4.6 --- openapi/openapiv2.json | 4 ++++ openapi/openapiv3.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index da89fac56..40bd92a3c 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -16739,6 +16739,10 @@ "workflowUpdateCallbacks": { "type": "boolean", "title": "True if the namespace supports attaching callbacks on workflow updates" + }, + "pollerAutoscalingAutoEnroll": { + "type": "boolean", + "description": "When true, workers should use poller autoscaling by default unless explicitly configured otherwise." } }, "description": "Namespace capability details. Should contain what features are enabled in a namespace." diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 36b02e47c..378cc5d80 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -13141,6 +13141,9 @@ components: workflowUpdateCallbacks: type: boolean description: True if the namespace supports attaching callbacks on workflow updates + pollerAutoscalingAutoEnroll: + type: boolean + description: When true, workers should use poller autoscaling by default unless explicitly configured otherwise. description: Namespace capability details. Should contain what features are enabled in a namespace. NamespaceInfo_Limits: type: object