fix(installer): clarify install tag pinning#4678
Conversation
|
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 (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAdds explicit failure handling when a requested git ref (set via NEMOCLAW_INSTALL_TAG) cannot be fetched, expands installer help text with curl|bash guidance and examples, updates user docs to document pinning behavior, and strengthens tests to validate help text and failure behavior. ChangesInstaller Tag Resolution and Error Handling
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
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 unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/install-preflight.test.ts (1)
2888-2892: ⚡ Quick winAdd payload-entrypoint regression coverage.
These assertions only pin the bootstrap
install.shbehavior.scripts/install.shchanged the sameNEMOCLAW_INSTALL_TAGhelp text and unavailable-ref messaging, so the two installer entrypoints can drift without a failing test. Please add a companion payload case for--helpand for an unavailableclone_nemoclaw_ref.Also applies to: 3704-3748
🤖 Prompt for 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. In `@test/install-preflight.test.ts` around lines 2888 - 2892, The current test only asserts help text for the bootstrap install entrypoint; add companion tests that invoke the payload entrypoint (scripts/install.sh) to cover its --help output and the unavailable clone_nemoclaw_ref path so both installers stay in sync. Specifically, add two assertions similar to the existing ones that run scripts/install.sh --help and run it with an unavailable clone_nemoclaw_ref value, then assert output contains NEMOCLAW_INSTALL_TAG, the "default: lkg" text, the "set this on bash or export it first" message, and the curl example (curl .* | NEMOCLAW_INSTALL_TAG=v0\.0\.56 bash); mirror this change for the other test block referenced (lines around 3704-3748) so both entrypoints have matching coverage.
🤖 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.
Nitpick comments:
In `@test/install-preflight.test.ts`:
- Around line 2888-2892: The current test only asserts help text for the
bootstrap install entrypoint; add companion tests that invoke the payload
entrypoint (scripts/install.sh) to cover its --help output and the unavailable
clone_nemoclaw_ref path so both installers stay in sync. Specifically, add two
assertions similar to the existing ones that run scripts/install.sh --help and
run it with an unavailable clone_nemoclaw_ref value, then assert output contains
NEMOCLAW_INSTALL_TAG, the "default: lkg" text, the "set this on bash or export
it first" message, and the curl example (curl .* |
NEMOCLAW_INSTALL_TAG=v0\.0\.56 bash); mirror this change for the other test
block referenced (lines around 3704-3748) so both entrypoints have matching
coverage.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 146208c6-ef94-4333-9f21-c34a89ef0e36
📒 Files selected for processing (4)
docs/manage-sandboxes/lifecycle.mdxinstall.shscripts/install.shtest/install-preflight.test.ts
|
🌿 Preview your docs: https://nvidia-preview-pr-4678.docs.buildwithfern.com/nemoclaw |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Auto-dispatched E2E: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: Dispatch required scenario E2E:
Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 1 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
This is an automated advisory review. A human maintainer must make the final merge decision. |
Selective E2E Results — ✅ All requested jobs passedRun: 26847586656
|
## Summary - Add the missing `v0.0.57` release-notes section with links to the detailed docs pages for command, inference, onboarding, messaging, status, installer, and policy changes. - Remove public references to docs-skip terms from source docs and regenerate the NemoClaw user skills from the current Fern MDX docs. - Carry forward generated references for the per-agent documentation split, including Hermes-specific reference files. ## Source summary - #4615 and #4653 -> `docs/about/release-notes.mdx`, `docs/reference/commands.mdx`: Release notes now cover host-side `sessions` and `agents` commands plus `NEMOCLAW_EXTRA_AGENTS_JSON` secondary-agent baking. - #4163, #4204, #4611, #4619, and #4676 -> `docs/about/release-notes.mdx`, `docs/inference/use-local-inference.mdx`: Release notes now cover managed vLLM progress/readiness, DGX Spark model default changes, local Ollama streaming usage, and inference route divergence warnings. - #4267, #4601, #4609, #4642, #4645, and #4661 -> `docs/about/release-notes.mdx`, `docs/reference/commands.mdx`: Release notes now cover UFW auto-remediation, local-inference reachability gates, gateway reuse/binding, cancel rollback, and policy selection persistence. - #4577, #4582, #4607, and #4660 -> `docs/about/release-notes.mdx`, `docs/manage-sandboxes/messaging-channels.mdx`: Release notes now cover Slack validation, atomic `channels add`, WhatsApp QR diagnostics, and Slack placeholder normalization. - #4388, #4600, #4646, and #4647 -> `docs/about/release-notes.mdx`, `docs/reference/commands.mdx`: Release notes now cover status failure layers, paused-container hints, Docker-driver doctor behavior, and non-destructive stale-registry recovery. - #4569, #4579, and #4678 -> `docs/about/release-notes.mdx`, `docs/manage-sandboxes/lifecycle.mdx`, `docs/network-policy/integration-policy-examples.mdx`: Release notes now cover installer tag pinning, PyPI `uv` policy access, and observable Jira validation. - #4632 -> `.agents/skills/`: Regenerated user skills from the current per-agent docs source, including newly generated Hermes reference files. ## Verification - `python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix nemoclaw-user --doc-platform fern-mdx` - `rg "permissive mode|shields down|shields up|shields status|config rotate-token|rotate-token" docs --glob "*.mdx"` - `rg "permissive mode|shields down|shields up|shields status|config rotate-token|rotate-token" .agents/skills --glob "*.md"` - `npm run docs` - `npm run build:cli` - Commit hooks: markdownlint, docs-to-skills verification, gitleaks, skills YAML, commitlint <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Restructured documentation to clearly distinguish OpenClaw and Hermes agent variants throughout user guides. * Enhanced security, credential storage, and deployment guidance with clearer setup flows. * Added Hermes plugin installation and ecosystem documentation. * Improved workspace, messaging, and policy management references with variant-specific command examples. * Refined troubleshooting and CLI reference sections for clarity. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
Clarifies how to pin
NEMOCLAW_INSTALL_TAGin curl-piped installs and makes missing installer refs fail with an explicit error. This prevents users from thinking the installer accepted a tag while silently followinglkgwhen the shell assignment was applied only tocurl.Related Issue
Fixes #4675
Changes
install.shbootstrap andscripts/install.shpayload clone paths.curl ... | NEMOCLAW_INSTALL_TAG=v0.0.56 bashplacement.docs/manage-sandboxes/lifecycle.mdx, including the common shell-assignment pitfall.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit
Documentation
Bug Fixes
Tests