Skip to content

Use ListWorkersResponse.workers in worker list - #1282

Open
rkannan82 wants to merge 4 commits into
mainfrom
kannan/worker-list-response-compat
Open

rkannan82 wants to merge 4 commits into
mainfrom
kannan/worker-list-response-compat

Conversation

@rkannan82

@rkannan82 rkannan82 commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What changed?

Use ListWorkersResponse.workers when it has entries. If workers is empty, use the deprecated ListWorkersResponse.workers_info as returned by older servers.

Why?

The API deprecates workers_info in favor of workers. Using workers prepares the CLI for servers to stop populating the deprecated field.

How did you test it?

Command tests cover responses with either field or both fields.

@rkannan82
rkannan82 requested a review from a team as a code owner December 1, 2026 03:17
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T00:44:43.684262Z 3f3f7a4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@rkannan82 rkannan82 changed the title Fix worker list for summary-only responses Read the workers field in worker list Dec 2, 2026
@rkannan82 rkannan82 changed the title Read the workers field in worker list Use ListWorkersResponse.workers in worker list Dec 2, 2026
@rkannan82
rkannan82 enabled auto-merge December 2, 2026 00:45
@rkannan82
rkannan82 requested a review from fretz12 December 2, 2026 02:04
@rkannan82
rkannan82 added this pull request to the merge queue Dec 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026
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.

4 participants