Frontmatter
| id | 7713 |
| title | health(github-workflow): reproduce gh-absent |
| state | Closed |
| labels | [] |
| assignees | MannXo |
| createdAt | Nov 7, 2025, 9:28 AM |
| updatedAt | Nov 8, 2025, 11:05 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7713 |
| author | MannXo |
| commentsCount | 1 |
| parentIssue | 7687 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 8, 2025, 11:05 AM |
health(github-workflow): reproduce gh-absent
tobiu added parent issue #7687 on Nov 7, 2025, 9:48 AM
tobiu assigned to @MannXo on Nov 7, 2025, 9:49 AM

tobiu
Nov 7, 2025, 9:52 AM
@MannXo Thanks for the new tickets. I assigned both to you, assuming that you want to tackle them. We are getting super close to v11 => all tests got migrated to playwright, and I fixed the combobox issues and created a faster and non-vulnerable version of jsdoc-x within the repo.
On my end, I will create the .npmignore next, and then polish the AI guides more.
MannXo cross-referenced by PR #7717 on Nov 7, 2025, 10:35 AM
tobiu closed this issue on Nov 8, 2025, 11:05 AM
Summary
Reproduce startup behavior when the GitHub CLI (
gh) is entirely absent or not on the PATH; add unit tests forHealthService, implement an explicit ENOENT detection and a small non-blocking retry/backoff so the server recovers whenghbecomes available, and add a short runbook/docs snippet with reproduction and remediation steps. (see parent issue #7687)To do
ghbeing absent (e.g., PATH modification) underai/mcp/server/github-workflow/docs/gh-absent.md.HealthServicethat mockchild_process.exec/execAsyncto simulate these states:ENOENT(gh not installed / not in PATH)ai/mcp/server/github-workflow/services/HealthService.mjsto:ENOENTexplicitly and log a clear, actionable message ("gh CLI not found in PATH; tools will be disabled until installed")Acceptance criteria