Skip to content

Populate WorkerListInfo when returning ListWorkersResponse#9418

Open
rkannan82 wants to merge 1 commit intomainfrom
kannan/worker-summary-server
Open

Populate WorkerListInfo when returning ListWorkersResponse#9418
rkannan82 wants to merge 1 commit intomainfrom
kannan/worker-summary-server

Conversation

@rkannan82
Copy link
Contributor

@rkannan82 rkannan82 commented Feb 27, 2026

What changed?

  • Add workerHeartbeatToListInfo helper in frontend to convert WorkerHeartbeat to WorkerListInfo
  • Populate ListWorkersResponse.workers field with WorkerListInfo for efficient listing
  • Update tests to verify both deprecated WorkersInfo and new Workers fields

Why?

The new WorkerListInfo proto contains only static/slow-changing worker info, enabling efficient listing of many workers without expensive dynamic data. Follows CHASM entity conventions (ActivityExecutionListInfo, ScheduleListEntry).

Depends on: temporalio/api#724

How did you test it?

  • built
  • updated assertions in existing functional tests

Potential risks

None - backward compatible. Deprecated WorkersInfo field continues to work.

@rkannan82 rkannan82 requested review from a team as code owners February 27, 2026 00:12
@rkannan82 rkannan82 force-pushed the kannan/worker-summary-server branch 4 times, most recently from 05c048c to 00a7f7a Compare February 27, 2026 00:27
@rkannan82 rkannan82 changed the title Populate WorkerSummary and RuntimeStats in WorkerInfo Add WorkerListInfo to ListWorkersResponse for efficient worker listing Feb 27, 2026
@rkannan82 rkannan82 changed the title Add WorkerListInfo to ListWorkersResponse for efficient worker listing Populate WorkerListInfo when returning ListWorkersResponse Feb 27, 2026
@rkannan82 rkannan82 force-pushed the kannan/worker-summary-server branch 3 times, most recently from 767972c to 9906c80 Compare February 27, 2026 17:50
## What changed?
- Add workerHeartbeatToListInfo helper in frontend to convert WorkerHeartbeat
  to WorkerListInfo for the new ListWorkersResponse.Workers field
- Update tests to verify both deprecated WorkersInfo and new Workers fields

## Why?
The new WorkerListInfo proto contains only static/slow-changing worker info,
enabling efficient listing of many workers without expensive dynamic data.
Follows CHASM entity conventions (ActivityExecutionListInfo, ScheduleListEntry).

## How did you test it?
- [x] built
- [x] updated assertions in existing functional tests

## Potential risks
None - backward compatible. Deprecated WorkersInfo field continues to work.

Made-with: Cursor
@rkannan82 rkannan82 force-pushed the kannan/worker-summary-server branch from 9906c80 to 603e736 Compare February 27, 2026 17:51
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