Commit 5b42c72
committed
Add WorkerListInfo proto for efficient worker listing (#724)
## What changed?
- Add `WorkerListInfo` proto for List API (follows CHASM entity
conventions like `ActivityExecutionListInfo`, `ScheduleListEntry`)
- Add `workers` field to `ListWorkersResponse` returning `repeated
WorkerListInfo`
- Deprecate `workers_info` field in `ListWorkersResponse`
[Server PR](temporalio/temporal#9418)
## Why?
Listing many workers with full `WorkerInfo` (containing dynamic metrics)
is expensive. `WorkerListInfo` contains only static/slow-changing fields
for efficient listing.
## How did you test it?
- [x] make proto passes
## Potential risks
None - backward compatible.1 parent d82b87a commit 5b42c72
File tree
6 files changed
+358
-122
lines changed- proto
- temporalproto/openapi
- worker/v1
- workflowservice/v1
6 files changed
+358
-122
lines changedLarge diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments