Skip to content

Add worker_commands namespace capability#771

Merged
rkannan82 merged 2 commits intomasterfrom
kannan/worker-commands-capability
Apr 27, 2026
Merged

Add worker_commands namespace capability#771
rkannan82 merged 2 commits intomasterfrom
kannan/worker-commands-capability

Conversation

@rkannan82
Copy link
Copy Markdown
Contributor

@rkannan82 rkannan82 commented Apr 24, 2026

What

Add worker_commands bool field to capabilities.

Why

This feature requires SDK to implicitly create a new task queue and poller per process. Preferable to do this in a controlled manner.

How did you test it?

Build

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rkannan82 rkannan82 requested a review from Sushisource April 24, 2026 02:23
@rkannan82 rkannan82 marked this pull request as ready for review April 24, 2026 02:23
@rkannan82 rkannan82 requested review from a team April 24, 2026 02:23
@rkannan82 rkannan82 requested review from ShahabT and removed request for ShahabT April 27, 2026 16:15
@rkannan82 rkannan82 enabled auto-merge (squash) April 27, 2026 16:16
@rkannan82 rkannan82 merged commit c6aa19b into master Apr 27, 2026
4 checks passed
@rkannan82 rkannan82 deleted the kannan/worker-commands-capability branch April 27, 2026 17:19
rkannan82 added a commit to temporalio/temporal that referenced this pull request Apr 27, 2026
## What
Wire the new `worker_commands` namespace capability to the existing
`WorkerCommandsEnabled` dynamic config flag.

Also bumped the API version.

## Why
SDKs need this capability to know when to create the implicit control
task queue and poller for receiving worker commands
(temporalio/api#771).

## How did you test it?
Unit tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

3 participants