Skip to content

fix(doctor): attach codex cli hint to codex auth#28007

Closed
worlldz wants to merge 2 commits into
NousResearch:mainfrom
worlldz:codex/fix-doctor-codex-hint-placement-forksync
Closed

fix(doctor): attach codex cli hint to codex auth#28007
worlldz wants to merge 2 commits into
NousResearch:mainfrom
worlldz:codex/fix-doctor-codex-hint-placement-forksync

Conversation

@worlldz

@worlldz worlldz commented May 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #27975

hermes doctor currently prints the optional codex CLI not installed import hint after the MiniMax OAuth line, which makes it read like MiniMax-related guidance.

This patch attaches that hint directly to the OpenAI Codex auth warning instead, which is the only place where it is actually relevant.

Validation:
uv run --extra dev pytest tests/hermes_cli/test_doctor.py -q -k codex_cli_hint

Result:
1 passed in 11.88s

@worlldz worlldz force-pushed the codex/fix-doctor-codex-hint-placement-forksync branch from b6c2a1d to 244400e Compare May 18, 2026 13:29
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard labels May 18, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Competing fix for #27975 — PR #27986 addresses the same codex CLI hint placement issue.

@BoardJames-Bot

Copy link
Copy Markdown

BoardJames triage: I do not see a branch-local failure at the moment. Attribution, common-ancestor, ruff/ty, ruff enforcement, Windows footguns, nix ubuntu/macos, supply-chain, e2e, and both Docker builds are green. The only non-green item I see is the full Tests / test job still in progress; given the same full-test job is timing out/cancelling across unrelated current PRs, this should be treated as shared/systemic unless this run finishes with a concrete assertion failure.

@outsourc-e outsourc-e 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.

The doctor fix itself looks good, but this branch also includes unrelated scripts/release.py author-map churn.

I opened a clean replacement with only the doctor-output fix and test coverage:

Validation on the clean replacement:

  • scripts/run_tests.sh tests/hermes_cli/test_doctor.py -k codex
  • 1 passed

@teknium1

Copy link
Copy Markdown
Contributor

Closing as duplicate of #27986 by @xxxigm, which has been merged via salvage PR #28595 (commit 12c3983). All three of you (#27986, #28007, #28186) submitted the same fix in parallel — @xxxigm by ~27 minutes first, but you both spotted the same UX bug. Thanks for the contribution; the fix is on main with credit shared in the salvage PR.

@teknium1 teknium1 closed this May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: hermes doctor prints the codex CLI import hint under MiniMax OAuth

5 participants