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 diff --git a/temporal/api/namespace/v1/message.proto b/temporal/api/namespace/v1/message.proto index 4b722147d..a8b49dc8c 100644 --- a/temporal/api/namespace/v1/message.proto +++ b/temporal/api/namespace/v1/message.proto @@ -56,6 +56,8 @@ message NamespaceInfo { bool standalone_nexus_operation = 11; // True if the namespace supports attaching callbacks on workflow updates bool workflow_update_callbacks = 12; + // When true, workers should use poller autoscaling by default unless explicitly configured otherwise. + bool poller_autoscaling_auto_enroll = 13; } // Namespace configured limits