Add option to exclude system workers in ListWorkers API#777
Merged
Add option to exclude system workers in ListWorkers API#777
Conversation
Allows callers to opt in to seeing system workers (on temporal-sys-* task queues) in ListWorkers responses. By default they are excluded. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushisource
approved these changes
Apr 30, 2026
ShahabT
approved these changes
Apr 30, 2026
This was referenced Apr 30, 2026
rkannan82
added a commit
to temporalio/temporal
that referenced
this pull request
May 2, 2026
## What Exclude internal system workers from ListWorkers API results by default. Users can opt in to seeing them via `include_system_workers` on the request. Depends on API change: temporalio/api#777 ## Why System workers (per-namespace workers for scheduler, batcher, worker deployment, etc.) appear in ListWorkers results, which is confusing for users who only care about their own workers. ## 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>
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.
What
Add
bool include_system_workersfield toListWorkersRequestproto. When true, the response includes system workers that are not created by the user. By default, system workers are excluded.Why
System workers (per-namespace workers for scheduler, batcher, etc.) show up in ListWorkers results, which is confusing for users who only care about their own workers.
How did you test it?
Build
🤖 Generated with Claude Code