fix(hermes): enable macOS VM rootfs compat#3442
Conversation
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryPi Semantic E2E AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR adds macOS VM sandbox compatibility to the Hermes Dockerfile by introducing a conditional build argument and permission-relaxation step that accommodates OpenShell macOS VM backend ownership remapping. An e2e test is updated to validate the new Dockerfile behavior. ChangesmacOS VM Compatibility
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
NEMOCLAW_DARWIN_VM_COMPAT=1, matching the macOS OpenShell VM ownership-repair path while preserving Linux/Docker defaultsValidation
git diff --checkbash -n test/e2e/test-openshell-gateway-upgrade.shshellcheck test/e2e/test-openshell-gateway-upgrade.shdocker build -f agents/hermes/Dockerfile --build-arg NEMOCLAW_DARWIN_VM_COMPAT=1 -t nemoclaw-hermes-darwin-compat-test:local .docker run --rm --entrypoint /bin/sh nemoclaw-hermes-darwin-compat-test:local -lc 'stat -c "%a %U:%G %n" /sandbox/.bashrc /sandbox/.profile /sandbox/.hermes /sandbox/.hermes/config.yaml /sandbox/.hermes/.env /sandbox/.hermes/.config-hash /sandbox/.hermes/runtime'\n\n## Notes\nThe observed macOS failure happened after the image build completed: OpenShell VM rootfs ownership repair exited on root-owned read-only/sandbox/.bashrcand/sandbox/.profilein the Hermes image. Ubuntu Docker nightly coverage does not hit this VM repair path.Summary by CodeRabbit
Release Notes
Chores
Tests