Skip to content

[codex] Show metrics follow-up commands - #225

Merged
Hynek Kydlíček (hynky1999) merged 3 commits into
mainfrom
codex/add-cli-metrics-followup
Aug 13, 2026
Merged

[codex] Show metrics follow-up commands#225
Hynek Kydlíček (hynky1999) merged 3 commits into
mainfrom
codex/add-cli-metrics-followup

Conversation

@hynky1999

@hynky1999 Hynek Kydlíček (hynky1999) commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add Metrics and Resource metrics follow-up commands after detached cloud submissions when the stage index is known.
  • Align the human-readable resource metrics output with the current API response by showing GPU compute and GPU memory instead of removed network fields.
  • Update the CLI documentation examples.
  • Add focused tests for follow-up output and current resource-metrics rendering.

Why

Cloud launch follow-up output already pointed users to attach, summary, logs, workers, and cancel commands, but omitted the available step and resource metrics commands.

The resource-metrics endpoint now returns CPU, memory, GPU compute, and GPU memory fields. The CLI renderer and documentation still referenced older network fields, causing text output to omit current GPU telemetry and display unavailable network values.

Validation

  • uv run ruff format --force-exclude tests/cli/test_cloud_run.py
  • uv run ruff check --force-exclude tests/cli/test_cloud_run.py src/refiner/cli/run/modes.py src/refiner/cli/jobs/metrics.py tests/cli/test_job_commands.py
  • uv run pytest tests/cli/test_cloud_run.py tests/cli/test_job_commands.py (99 passed)
  • git diff --check

Co-Authored-By: Codex <codex@openai.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new Metrics command to the cloud followup commands outputted by the CLI. Specifically, it updates emit_cloud_followup_commands to print the metrics command when a stage index is available, updates the corresponding documentation, and adds unit tests to verify this behavior under both known and unknown stage scenarios. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Co-Authored-By: Codex <codex@openai.com>
@hynky1999 Hynek Kydlíček (hynky1999) changed the title [codex] Show metrics follow-up command [codex] Show metrics follow-up commands Aug 13, 2026
@hynky1999
Hynek Kydlíček (hynky1999) marked this pull request as ready for review August 13, 2026 09:57
Co-Authored-By: Codex <codex@openai.com>
@hynky1999
Hynek Kydlíček (hynky1999) merged commit f63ed03 into main Aug 13, 2026
5 checks passed
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