Skip to content

[codex] Show metrics follow-up command#225

Draft
Hynek Kydlíček (hynky1999) wants to merge 1 commit into
mainfrom
codex/add-cli-metrics-followup
Draft

[codex] Show metrics follow-up command#225
Hynek Kydlíček (hynky1999) wants to merge 1 commit into
mainfrom
codex/add-cli-metrics-followup

Conversation

@hynky1999

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Metrics follow-up command after detached cloud submissions when the stage index is known.
  • Update the CLI docs example to show the same command.
  • Add focused tests for follow-up command output with known and unknown stages.

Why

Cloud launch follow-up output already pointed users to attach, summary, logs, workers, and cancel commands, but omitted the CLI metrics command even though stage metrics are available through macrodata jobs metrics.

Validation

  • uv run ruff format --force-exclude src/refiner/cli/run/modes.py tests/cli/test_run_modes.py
  • uv run ruff check --force-exclude src/refiner/cli/run/modes.py tests/cli/test_run_modes.py
  • uv run pytest tests/cli/test_run_modes.py

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.

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