Frontmatter
| title | handles gh absence and ENOENT in HealthService; add unit test |
| author | MannXo |
| state | Merged |
| createdAt | Nov 7, 2025, 10:35 AM |
| updatedAt | Nov 8, 2025, 11:05 AM |
| closedAt | Nov 8, 2025, 11:05 AM |
| mergedAt | Nov 8, 2025, 11:05 AM |
| branches | dev ← enhancement/gh-absent-healthservice |
| url | https://github.com/neomjs/neo/pull/7717 |
Merged

tobiu
commented on Nov 8, 2025, 11:03 AM
Input from Gemini 2.5 pro:
✦ This PR provides significant and valuable improvements to the GitHub Workflow server's health checks. The enhanced error handling, clearer messaging for
ghCLI issues, and the new documentation forgh-absent scenarios are all excellent additions that will greatly improve the developer experience.We've identified a few areas for further refinement, which we've captured in separate follow-up tickets to keep this PR focused:
- #7720: Refactor: Inline
healthHelpers.mjsintoHealthService.mjs- #7721: Docs: Create and integrate guide for
gh-absent scenarios- #7722: Test: Relocate
healthHelpers.test.mjsto Playwright harnessThese are not blockers for this PR, as the current changes already deliver substantial value. If you're interested in continuing to contribute, we'd be happy for you to tackle any of these follow-up tickets!
Great work on this PR!
Summary:
Add explicit ENOENT handling to HealthService so the server reports installed: false when the GitHub CLI (gh) is missing, and add a unit test + runbook. This improves startup clarity and CI coverage so users see a clear, actionable message when gh is not installed or not on PATH.
Does this PR resolve an issue? (Required)
Closes #7713
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills this requirement:
devbranch, not themainbranchIf adding a new feature, the PR's description includes:
Other information: