Skip to content

Add poller autoscaling scale-down-on-idle feature test#779

Draft
rkannan82 wants to merge 1 commit intomainfrom
kannan/poller-autoscaling-scale-down-test
Draft

Add poller autoscaling scale-down-on-idle feature test#779
rkannan82 wants to merge 1 commit intomainfrom
kannan/poller-autoscaling-scale-down-test

Conversation

@rkannan82
Copy link

Summary

  • Adds features/poller_scaling/scale_down_on_idle — verifies SDK scales down pollers on an idle queue when the server advertises the PollerAutoscaling namespace capability
  • Uses a gRPC interceptor to track concurrent PollWorkflowTaskQueue RPCs and asserts the count decreases from the initial peak
  • Skips gracefully when the server doesn't support the capability (e.g., embedded dev server)
  • Updates Go SDK to latest master (v1.41.2-0.20260320032056) which includes sdk-go#2239 (capability-based scale-down)
  • Updates go.temporal.io/api to v1.62.5 (includes PollerAutoscaling field)

Related: features#770, temporal#9572, temporal#9615

Test plan

  • Compiled
  • Ran against local server built from kannan/poller-autoscaling-capability branch — PASSED (62s)
  • Verified skip behavior with embedded dev server (no capability)

Made with Cursor

Validates that the SDK scales down pollers on an idle queue when the
server advertises the PollerAutoscaling namespace capability.

Uses a gRPC interceptor to track concurrent PollWorkflowTaskQueue RPCs
and verifies the count decreases from the initial peak. Skips
gracefully when the server doesn't support the capability.

Requires Go SDK >= v1.41.2 (includes sdk-go#2239 which adds the
capability-based scale-down logic).

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant