Skip to content

feat(cli): report external harness install and sign-in in doctor - #4424

Merged
LHagfoss merged 1 commit into
mainfrom
feat/cli-doctor-harnesses
Nov 25, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
feat/cli-doctor-harnesses

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

rustcode doctor now lists every external harness of the user config and the named accounts of the enabled ones, using the same detection as Settings › Harnesses:

  • An enabled harness that is not installed fails, with its install hint.
  • One that reports signed out fails, with its login command; unknown passes as "sign-in not checked".
  • A turned-off harness is listed and never fails.
  • A signed-out named account fails with <ENV>=<dir> <login> as the hint.

No session is started and no secret is printed; probes keep their existing timeouts.

Changelog

rustcode doctor reports each harness's install, version and sign-in, and each named account's sign-in.

Testing

cargo fmt --all -- --check, scripts/check-comments.py, scripts/check-rust-size.py. New unit tests in doctor.rs run in CI.

Closes #4379

@LHagfoss LHagfoss added the enhancement New feature or request label Nov 25, 2026
@github-actions github-actions Bot added the feature New feature or request label Nov 25, 2026
@LHagfoss
LHagfoss merged commit a003642 into main Nov 25, 2026
7 checks passed
@LHagfoss
LHagfoss deleted the feat/cli-doctor-harnesses branch November 25, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): report external harness install and sign-in in doctor

2 participants