Skip to content

fix(dev): pnpm dev status exits 1 unless the instance is healthy - #107

Merged
allisonmahmood merged 1 commit into
mainfrom
fix/dev-status-exit-code
Sep 2, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
fix/dev-status-exit-code

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

`pnpm dev status` exited 0 whether the instance was healthy or every recorded pid was dead, so an agent or a script could not branch on it without parsing the first word of the report.

The status command now prints its report as before, then fails with one line (` is not serving; run \`pnpm dev\`.`) and exit 1 when `/healthz` does not answer. `--json` output is unchanged apart from the exit code. The doc's command table says so.

Written by Claude Fable 5.1 in Claude Code.

@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling area:docs Touches the docs area size:s Under 100 changed lines labels Sep 2, 2026
@allisonmahmood
allisonmahmood merged commit 016dd4e into main Sep 2, 2026
6 checks passed
@allisonmahmood
allisonmahmood deleted the fix/dev-status-exit-code branch September 2, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:docs Touches the docs area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant