Skip to content

Add pv doctor command#17

Merged
munezaclovis merged 2 commits intomainfrom
feat/doctor-command
Mar 5, 2026
Merged

Add pv doctor command#17
munezaclovis merged 2 commits intomainfrom
feat/doctor-command

Conversation

@munezaclovis
Copy link
Copy Markdown
Contributor

@munezaclovis munezaclovis commented Mar 5, 2026

Summary

  • Adds pv doctor command that diagnoses installation health across 6 sections: Binaries, Environment, Composer isolation, Network, Server, and Projects
  • Reports issues with actionable fix suggestions (e.g. → Run: pv install)
  • Returns non-zero exit code when problems are found
  • Includes unit tests (cmd/doctor_test.go) and an E2E test (scripts/e2e/doctor.sh) wired into the CI workflow as Phase 11

Test plan

  • go test ./... passes
  • go build succeeds
  • E2E workflow passes on CI (Phase 11: doctor.sh)

Runs sequential checks across 6 sections: Binaries, Environment,
Composer isolation, Network, Server, and Projects. Reports issues
with fix suggestions and exits non-zero when problems are found.
@munezaclovis munezaclovis force-pushed the feat/doctor-command branch from a4f62bf to 4481b14 Compare March 5, 2026 06:06
The server is started with sudo in CI, so the PID file lives under
the runner's HOME only when sudo -E preserves the environment.
@munezaclovis munezaclovis merged commit 80b33e2 into main Mar 5, 2026
2 checks passed
@munezaclovis munezaclovis deleted the feat/doctor-command branch March 5, 2026 06:28
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