Repository navigation
fix(inference): keep Local NIM shared on DCode native route - #13220
prekshivyas merged 24 commits into
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage/plugin
View coverage of the 10 most impacted files.
TypeScript / code-coverage/cli
View coverage of the 10 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
…b.com:NVIDIA/NemoClaw into fix/13116-review-repair Signed-off-by: Prekshi Vyas <[email protected]> # Conflicts: # docs/deployment/deploy-to-headless-server.mdx # docs/inference/understand-provider-validation.mdx # docs/reference/architecture.mdx # docs/reference/commands.mdx
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Signed-off-by: Prekshi Vyas <[email protected]>
Preserve the validated staged native attachment during DCode recreation. Keep owned Local NIM on its shared inference route. Signed-off-by: Prekshi Vyas <[email protected]>
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
Outcome
Keep experimental Local NVIDIA NIM on its existing
inference.localroute while Deep Agents Code uses native attachments for standalone local providers. Local NIM and standalone vLLM sharevllm-local, so the ownednimContainermarker determines which route applies.Reason
The accepted DCode-first native-local slice in #13197 would otherwise treat an owned Local NIM selection or an older NIM sandbox as standalone vLLM and require a native attachment that NIM does not have.
Related issues
Fixes #13116. Stacked on #13203, which delivers the DCode-first native-local slice. This replaces #13122, whose #12977 base contains the superseded OpenClaw-inclusive scope.
Changes
nimContainerhandles resume and rebuild.Verification
npm run build:cliandnpm run docspassed. Generated Deep Agents Code variants were inspected.3b924cad250174ea9dc35bbd7a85d7094fa0065; the docs commits545aaf755fe586571455f6a0442ef79d8c274e38and1bd5e09a2fab14cdb32dcd85c2ffa164f48862f9passed matrix sync where applicable, docs validation, commit hooks, and pre-push publication validation. The managed-startup repair7bfe797278d24810ce2e65a014112b5df011a801passed its focused tests, CLI build, commit hooks, and pre-push TypeScript and publication validation. After merging parent feat(inference): attach Deep Agents Code local providers #13203 at26474e1f, 105 focused tests across five files passed; merge commitaf029a04passed commit hooks and pre-push publication validation and TypeScript CLI. After merging the newer parent08e5c4bd, 165 focused tests across seven files andnpm run docspassed; merge commit56be19d4passed commit hooks, pre-push publication validation, and TypeScript CLI. Reference-documentation repairs3b03be0fand7eebf9depassednpm run docs, commit hooks, and pre-push publication validation. NIM retry repairc1015ddfpassed 12 focused tests, CLI build, commit hooks, pre-push publication validation, and CLI typecheck. Health-failure repair011d9b58passed 45 focused tests, CLI build, commit hooks, pre-push publication validation, and CLI typecheck. Integration-test alignment19fb8582and caller-level proofe18ff696passed all four NIM memory-selection tests, commit hooks, pre-push publication validation, and CLI typecheck.Review notes
This changes sensitive inference and onboarding paths. The first exact-head Advisor review found shared-route, documentation, and resume-regression gaps; commit
3b924cadaddresses those. A second review found an ecosystem documentation claim; commit545aaf75corrected it. A third review found a routing-guide claim; commit1bd5e09acorrects it and aligned related guide pages. A fourth review found an omitted managed-startup handoff; commit7bfe7972fixes it and adds a regression test. Advisor cleared7bfe7972and the parent-merge headaf029a04. A second exact-head run onaf029a04identified three stale reference-page route descriptions;3b03be0fcorrects them and clarifies thatinference setdoes not create native local attachments. The next run identified matching architecture and operational-page claims;7eebf9dealigns those pages. Advisor cleared that documentation repair. The latest merge incorporates parent08e5c4bdand resolves its overlapping reference edits. Advisor then found a NIM retry path that could clear the ownership marker while the container remained;c1015ddfremoves the owned container before clearing that marker and adds a retry regression. Advisor then identified a silent cloud switch after failed NIM health check;011d9b58stops onboarding after cleaning up the owned container and also removes the silent cloud switch when no NIM model fits. The first CI run on011d9b58found one stale integration test expecting cloud fallback;19fb8582updates it to require cleanup and a visible stop. Advisor cleared011d9b58. A verification specialist requested explicit caller-level proof;e18ff696now checks that the production handler cleans up the container returned by startup, throws, and skips model adoption and endpoint probing. Advisor then identified one stale NIM recovery sentence;371d919baligns it with stop-after-cleanup behavior and passednpm run docs, commit hooks, and pre-push publication validation. Advisor cleared371d919b, and full required CI passed. Parent #13203 advanced to5111b16d; merge commit4bd23472resolves its documentation overlap, with 164 focused tests across nine files, CLI build, docs validation, commit hooks, and pre-push publication validation passing. The exact-head Advisor blocker gate, required CI, managed-image and rootless runtime qualification, and self-hosted E2E all passed on4bd23472. Parent #13203 advanced again tob3f89d24; merge commitac009c9fresolves the overlapping reference edits and passed 235 focused tests across ten files, CLI build, docs validation, commit hooks, and pre-push publication validation. Exact-head Advisor onac009c9fidentified a caller-level health-failure test gap. Commit5ca0cd38adds the test against the production handler, proving container cleanup and a stop before model adoption. The focused tests, CLI build, TypeScript check, commit hooks, and pre-push publication validation pass; Advisor on5ca0cd38cleared the health-failure test but found a stale native attachment in the Local NIM rebuild target. Commit3521d195makes the owned NIM marker take precedence, with a regression test; 41 relevant tests, TypeScript, commit hooks, and pre-push validation pass. The exact-head Advisor rerun on3521d195cleared the rebuild fix but found a stale managed NIM health-wait timeout in troubleshooting. Commit2776dedacorrects the documented default to 20 minutes (1,200 seconds); the NIM test suite, docs build, commit hooks, and pre-push validation pass. Advisor on2776dedafound that a failed post-start identity revalidation could prevent owned NIM cleanup. Commit9d961fd2captures the exact Docker container ID at startup and removes that ID after a failed health wait, with tests for cleanup and retained recovery state if removal fails. Focused tests, TypeScript, commit hooks, and pre-push validation pass. Advisor cleared9d961fd2; CI shard 10 then found child-process NIM fixtures still returning a string instead of the new startup receipt. Commit060a0e70updates the fixtures and cleanup assertions; the affected tests, TypeScript, commit hooks, and pre-push validation pass. The exact-head Advisor on060a0e70found that an invalid Docker launch receipt could leave a credential-bearing NIM container running. Commit5ad4b3a5removes the named container before reporting receipt failure and reports cleanup failure when removal fails. The focused NIM tests, full local PR validation, commit hooks, and pre-push validation pass on5ad4b3a5; exact-head CI and Advisor are running. The earlier managed-image retry passed its image build and direct startup on060a0e70; its all-agent activation jobs were still running when5ad4b3a5was pushed. Parent #13203 remains draft; it must merge before this stacked PR can land. Native NIM migration and GPU/NGC qualification remain separate.Current status (2026-10-15)
The latest child head is
ebf136b2964a4c698adb64c4d99fb5aa67b4cfef, mergeable on parent #13203 head81ee22de5a1fd0071e252b6fa032b720286182bc. It preserves owned Local NIM oninference.localwhile standalone vLLM remains eligible for the Deep Agents native local route. The earlier fixture and integration-test repairs are included in this head.All 63 exact-head PR checks completed successfully, including CLI tests, static checks, amd64 and arm64 activation, rootless Podman activation, and the llama.cpp generic NVIDIA GPU live test. The exact-head Advisor run completed all nine specialists with clear finding ledgers and a passing blocker gate. CodeRabbit skips automatic reviews on this nondefault target branch. No review threads remain open. The branch is ready for independent review; parent #13203 remains open and draft and must merge before this stacked PR can land. Native NIM migration and NIM GPU/NGC qualification remain separate work.
Signed-off-by: Prekshi Vyas [email protected]