fix(onboard): preserve served model route - #10882
Conversation
Signed-off-by: Tinson Lai <tinsonl@nvidia.com>
|
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)
Included review availability: Your plan provides up to 12 included reviews per hour; 4 remain after this review. 📝 WalkthroughWalkthroughThe vLLM recovery flow resolves checkpointed catalog aliases to served model IDs before install-route validation. Resume tests verify identity revalidation ordering, managed-install intent, checkpoint sequencing, and repeated alias resolution. ChangesvLLM Alias Recovery
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to Managed vLLM resume onboarding now accepts supported catalog aliases by validating against the served model identity, while preserving strict mismatch handling and checkpoint compatibility. No merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The changes address issue [
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
|
PR Review Advisor finished for commit |
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
prekshivyas
left a comment
There was a problem hiding this comment.
Reviewed exact head 07ce27a. Focused resume/identity tests and CLI build pass; all successful PR Review Advisor specialists are clean. Remaining cancelled title-lint executions stopped in dependency installation before linting and are being rerun as infrastructure flakes.
<!-- markdownlint-disable MD041 --> ## Outcome Adds the canonical dated documentation entry for v0.0.120 and records the release's material user-facing changes before tag planning. The Hermes rebuild guide now also documents the fail-closed immutable-base requirement for legacy sandboxes without an image hint. ## Reason Release planning requires a merged `docs/changelog/2026-09-04.mdx` containing exactly one `## v0.0.120` heading. The existing automation draft does not contain that required changelog and does not cover the full release scope, so this PR provides a fresh, independently reviewed release-docs update. ### Related issues Relates to #10919 ## Changes - Add three release-note lead paragraphs and detailed, user-facing v0.0.120 changes with canonical documentation routes. - Cover configuration export and doctor (#11015, #11012); Hermes runtime, recovery, and Discord policy (#10595, #11071, #11024, #10927, #10983, #10988, #10999, #11019, #10682); Shields retirement (#10722, #10996); OpenShell forwarding and runtime authority (#10695, #10814, #10815, #10810); onboarding and recovery (#10690, #10900, #11046, #10882, #10864); inference behavior (#10956, #10910, #11070); Deep Agents MCP projection safety (#10911, #10909); and provider-profile validation (#10884, #10895). - Scope the legacy Hermes immutable-base rebuild guidance to the Hermes-rendered recovery page. ## Verification - `npx vitest run --project integration test/generation/check-docs-links.test.ts test/generation/check-docs-published-routes.test.ts test/generation/post-merge-docs.test.ts` — 3 files and 125 tests passed. - `npm run docs` — passed with 0 errors and 5 existing Fern warnings. - Independent documentation audit — reconciled all 71 commits in `v0.0.119..origin/main`, validated all 29 PR links and published routes, and found no unsupported product claims or remaining corrections. - Normal `pre-commit`, `commit-msg`, and `pre-push` hooks — passed. - `git diff --check` — passed. - GitHub commit verification — `a22fe0989fd72c7daaa9b2e7a4734a3edc069aba` is Verified with reason `valid`. - Secret review — the diff contains no secrets, API keys, or credentials. ## Review notes The existing automation draft #10919 is intentionally left untouched. This PR supersedes its release-docs content with the complete canonical changelog and a variant-correct Hermes recovery update. --- Signed-off-by: Charan Jagwani <cjagwani@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Added release notes covering verified configuration export, host and gateway diagnostics, service forwarding, sandbox recovery, onboarding safeguards, inference retries, MCP projection safety, provider setup, and Discord runtime policy. - Clarified sandbox rebuild behavior, including use of the release-pinned immutable base image when required. - Documented that rebuilds stop before modifying sandbox data when the required image cannot be resolved or validated. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Outcome
Managed vLLM onboarding now keeps the catalog's served model identity when a resumable install checkpoint records a short model alias. Fresh installs no longer reject their own endpoint because the checkpoint replaced the canonical route with the
NEMOCLAW_VLLM_MODELselector.Reason
The resume checkpoint records install intent, while route validation compares the endpoint identity. Treating the selector as the route identity made a valid catalog alias conflict with the model that the managed endpoint actually serves.
Related issues
Fixes #10876
Changes
Verification
npx vitest run src/lib/onboard/setup-nim-flow-vllm-resume.test.ts src/lib/onboard/setup-nim-vllm.test.ts src/lib/inference/vllm-fixed-catalog-install.test.ts— 52 tests passednpm run build:cli— passednpm run typecheck:cli— passed locally and in the pre-push hooknpm run format:check— passednpx oxlint src/lib/onboard/setup-nim-flow.ts src/lib/onboard/setup-nim-flow-vllm-resume.test.ts— passed with no lint errorsnpm run source-shape:check— passednpm run checks:repository— passedgit diff --check— passedReview notes
setup-nim-flow.test.tstimed out locally without assertion failures. Those paths do not execute the changed checkpoint adapter; the directly affected suites pass 52/52.Signed-off-by: Tinson Lai tinsonl@nvidia.com
Summary by CodeRabbit