Repository navigation
docs(install): preserve agent discovery in services - #1896
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
| Layer / File(s) | Summary |
|---|---|
Service PATH guidance and launcher checks scripts/with-bun.test.ts, INSTALL.md, changelog.d/source-service-agent-path.md |
Tests check that Bun finds grok in ~/.local/bin when it is absent from PATH, and prefers the PATH executable when both locations contain it. The installation guide and changelog describe service setup and agent discovery. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Other
Possibly related PRs
- devswha/ovis#1690: Defines how
/api/agentsreports installed agents from commands found on the serverPATH.
Suggested reviewers: devswha
Merge Risk: 
Minimal · up to d4f3c
-
The documented service setup and regression tests align with the launcher’s agent-discovery behavior.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (2 skipped: 2 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
d4f3c3d to
3d66655
Compare
|
Rebased onto main
The conflict-resolution rebase is pushed; the merge decision stays with the maintainer. Review prepared with a code-review agent and checked against the code. The merge decision stays with the maintainer's merge pass. |
|
Merge pass review-work report. This is an outside-contributor PR, and the maintainer approved merging it in this pass. The ext-pr-review lane verified it, and its comment is above. Overall: PASSED (docs and tests only).
The INSTALL.md text matches CodeRabbit did not review this PR (rate-limited or skipped). The reviews above stand in for it. |
Change
A source install started directly by a service manager can have a restricted
PATHthat omits~/.local/bin. The server then reports an installed Grok CLI as unavailable and the new-session picker hides it.Document launching source services through the existing
scripts/with-bun.sh, including a systemd example and the service-user/HOME requirements. Add regression tests that run a real Bun child to verify Grok discovery with a restricted PATH and preserve an explicitly selected Grok command. Add the required changelog fragment.The existing launcher already handles this case; no application runtime changes or new dependencies are needed.
Validation
bun test ./scripts/with-bun.test.ts: 21 passed, including the two new Grok cases.UNIT_TEST_WORKERS=2 bun run check fast: passed workflow syntax, generated types/themes, typechecking, production build and the unit suite (6,410 passed, 0 failed, 13 skipped across 455 files). The verification report marks the checked source state as verified./api/agentschanged Grok frominstalled: falsetoinstalled: true;/api/healthreturnedok: true.