Skip to content

Commit 5b42c72

Browse files
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

6 files changed

+358
-122
lines changed

temporalproto/openapi/openapiv2.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

temporalproto/openapi/openapiv3.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

worker/v1/message.go-helpers.pb.go

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

worker/v1/message.pb.go

Lines changed: 212 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)