Skip to content

feat: auto-run CLI diagnostics on warmup failure#6

Merged
trentmcnitt merged 1 commit into
mainfrom
feat/cli-diagnostics
Mar 26, 2026
Merged

feat: auto-run CLI diagnostics on warmup failure#6
trentmcnitt merged 1 commit into
mainfrom
feat/cli-diagnostics

Conversation

@trentmcnitt
Copy link
Copy Markdown
Owner

Summary

  • When the CLI subprocess fails to start after both warmup attempts, automatically runs node --version, claude --version, and claude auth status and logs the results
  • A single log dump now captures all info needed to debug startup failures without asking users to run commands manually
  • Resolves the diagnostic gap in Claude installed and logged in, but Bespoke still complains #2 — no more back-and-forth asking users to run terminal commands

Test plan

  • Verify npm run check passes
  • Temporarily force warmup failure (return false in validateWarmupResponse), F5, confirm diagnostic lines appear in Output panel
  • Revert temp change

When warmup fails after both attempts, automatically run node --version,
claude --version, and claude auth status and log the results. This
ensures a single log dump captures all info needed to debug startup
failures without asking users to run commands manually.
@trentmcnitt trentmcnitt merged commit 9513c1b into main Mar 26, 2026
2 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