Add poller autoscaling namespace capability#723
Merged
Sushisource merged 2 commits intomasterfrom Mar 17, 2026
Merged
Conversation
42e0000 to
54d80a8
Compare
9 tasks
rkannan82
approved these changes
Mar 17, 2026
jmaeagle99
approved these changes
Mar 17, 2026
02strich
added a commit
that referenced
this pull request
Mar 18, 2026
* origin/master: Add poller autoscaling namespace capability (#723) Add request header annotation and resource-id fields (#728) Trampolining: addition of fields to remove the infinite loops for pinned wfs (#721) Add WorkerListInfo proto for efficient worker listing (#724) Add storage driver info to worker heartbeats (#722)
2 tasks
rkannan82
added a commit
to temporalio/temporal
that referenced
this pull request
Mar 19, 2026
## What changed? Set the `PollerAutoscaling` namespace capability unconditionally to `true`. This new capability was introduced in temporalio/api#723. ## Why? SDKs need to know the server supports poller scaling decisions so they can safely scale down pollers on empty responses. Without this capability, SDKs can't be sure the server would ever tell them to scale back up (if the server is old). Poller autoscaling is enabled/disabled on the worker (SDK) side — the server always supports sending scaling decisions, so this capability is hardcoded to `true`. ## How did you test it? - [x] built - [x] covered by existing tests (`TestCapabilitiesAndLimits`) ## Potential risks None — additive capability flag, no behavioral change on the server. Made with [Cursor](https://cursor.com)
stephanos
pushed a commit
to temporalio/temporal
that referenced
this pull request
Mar 20, 2026
Set the `PollerAutoscaling` namespace capability unconditionally to `true`. This new capability was introduced in temporalio/api#723. SDKs need to know the server supports poller scaling decisions so they can safely scale down pollers on empty responses. Without this capability, SDKs can't be sure the server would ever tell them to scale back up (if the server is old). Poller autoscaling is enabled/disabled on the worker (SDK) side — the server always supports sending scaling decisions, so this capability is hardcoded to `true`. - [x] built - [x] covered by existing tests (`TestCapabilitiesAndLimits`) None — additive capability flag, no behavioral change on the server. Made with [Cursor](https://cursor.com)
birme
pushed a commit
to eyevinn-osaas/temporal
that referenced
this pull request
Mar 23, 2026
## What changed? Set the `PollerAutoscaling` namespace capability unconditionally to `true`. This new capability was introduced in temporalio/api#723. ## Why? SDKs need to know the server supports poller scaling decisions so they can safely scale down pollers on empty responses. Without this capability, SDKs can't be sure the server would ever tell them to scale back up (if the server is old). Poller autoscaling is enabled/disabled on the worker (SDK) side — the server always supports sending scaling decisions, so this capability is hardcoded to `true`. ## How did you test it? - [x] built - [x] covered by existing tests (`TestCapabilitiesAndLimits`) ## Potential risks None — additive capability flag, no behavioral change on the server. Made with [Cursor](https://cursor.com)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
READ BEFORE MERGING: All PRs require approval by both Server AND SDK teams before merging! This is why the number of required approvals is "2" and not "1"--two reviewers from the same team is NOT sufficient. If your PR is not approved by someone in BOTH teams, it may be summarily reverted.
What changed?
title
Why?
Needed to allow SDKs to scale down on empty responses (otherwise, they can't be sure scale up could ever happen again, if the server is old)
Breaking changes
no
Server PR