fix(roborev): expose Bun agents to daemon - #2361
Conversation
Entire-Checkpoint: a2611cd19861
|
Warning Indent Zero is shutting down on August 7th. Please migrate over to Indent 2.0 to continue getting PR reviews.
|
📝 WalkthroughSummary by CodeRabbit
WalkthroughRoboRev launchd and systemd services now include ChangesRoboRev Bun PATH support
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@spec/activate_roborev_spec.sh`:
- Around line 76-79: Update the test “includes Bun-installed agents in the
daemon PATH” so it verifies both service PATH entries contain
`${homeDir}/.bun/bin`, either by asserting two matches or by checking the
launchd and systemd blocks separately; do not rely on a single whole-file grep
match.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: ba3226ad-2a96-4000-bb9a-7b6266d37fad
📒 Files selected for processing (2)
home-manager/services/roborev/default.nixspec/activate_roborev_spec.sh
Entire-Checkpoint: ad6a86dc1dd2
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Entire-Checkpoint: 2905cb705a92
Summary
Kyber already has Droid at
/home/ubuntu/.bun/bin/droid, but the liveroborev.servicePATH omits/home/ubuntu/.bun/bin. RoboRev therefore marks Droid unavailable and resolves the panel member nameddroidto its configured Gemini backup.Bead:
shunkakinokisoftware-vwljBefore / after
/home/ubuntu/.bun/binBreaking and rollback
droidpanel member when Droid is installed.Deliberate boundaries
node_modules/.bin: the stable Droid shim is in~/.bun/bin, and that exact future environment passed an authenticated probe.Verification
shellspec spec/activate_roborev_spec.sh— 13 examples, 0 failuresmake nix-format-checkmake nix-lintHOST=kyber HOSTNAME=kyber nix eval --json .#homeConfigurations.kyber.config.systemd.user.services.roborev.Service.Environment --impure --no-update-lock-file/home/ubuntu/.bun/bindroid execunder the future unit environment returned exactlyOK, confirming current authenticationgit diff --check