Skip to content

Show the worker's default memory in orchard get worker - #544

Open
rioyu123 wants to merge 1 commit into
openai:mainfrom
rioyu123:codex/worker-memory-display
Open

rioyu123 wants to merge 1 commit into
openai:mainfrom
rioyu123:codex/worker-memory-display

Conversation

@rioyu123

Copy link
Copy Markdown

orchard get worker NAME prints DefaultCPU in both the "Default CPU" and "Default memory" rows, so a worker with 4 CPUs and 8192 MB of default memory shows Default memory 4. This reads DefaultMemory for the memory row instead.

Validation: ran the original and patched CLI against a local HTTP worker fixture with defaults of 4 CPU/8192 MB, 8 CPU/16384 MB and 2 CPU/0 MB. The patched memory row matches the API value; the CPU row and get worker NAME/name field lookup are unchanged. go test ./internal/command/get ./pkg/client -count=1 passes (the get package has no tests of its own).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 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-11-23T15:57:48.762909Z 5f4dff9 PR opened
ℹ️ 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.

This branch has not been deployed

No deployments
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