Repository navigation
Conversation
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage remains at 96%, unchanged from the TypeScript / code-coverage/cliThe overall coverage in the Show a code coverage summary of the most impacted files.
Updated |
PR Review Advisor — InformationalAdvisor assessment: Informational / medium confidence Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: 2 optional E2E recommendations
This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
<!-- markdownlint-disable MD041 --> ## Summary Remove NemoClaw's legacy host-alias command surface instead of preserving its direct Docker and Kubernetes resource mutation. This is PR 26 in the dependent OpenShell gRPC migration stack and targets `refactor/openshell-remove-cluster-resource-probe/ae`. ## Changes - Delete the `hosts-add`, `hosts-list`, and `hosts-remove` commands and their Kubernetes `Sandbox` resource patch implementation. - Remove the retired commands from public routing metadata, help output, docs, and package-contract tests. - Remove the final ordinary Docker-exec mutation from the reviewed legacy-transport inventory; no ephemeral `/etc/hosts` fallback is introduced. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [x] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates - [x] Tests added or updated for changed behavior - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [x] Docs updated for user-facing behavior changes - [ ] Docs not applicable — justification: - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: Self-review completed by Aaron Erickson; this change deletes a host-controlled Kubernetes mutation path and deliberately adds no private replacement. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue: ## Verification - [x] PR description includes the DCO sign-off declaration and every commit appears as `Verified` in GitHub - [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or `npm run check:diff` passed when hooks were skipped or unavailable - [x] Targeted behavior tests pass for the current change set, or tests are marked not applicable above — command/result or justification: `npm run build:cli`; 66 focused assertions across CLI adapters, integration behavior, package contracts, and the legacy-transport inventory pass. - [ ] Applicable broad gate passed — `npm test` for broad runtime/test-harness changes; `npm run check` for repo-wide validation/coverage changes — command/result: - [x] Quality Gates section completed with required justifications or waivers - [x] No secrets, API keys, or credentials committed - [ ] `npm run docs` builds without warnings (doc changes only) - [x] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) `npm run docs` passed; Fern reported the existing two hidden warnings. --- Signed-off-by: Aaron Erickson <aerickson@nvidia.com> --------- Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
…gRPC (#6911) <!-- markdownlint-disable MD041 --> ## Summary Route the remaining direct read-only sandbox probes in snapshot and process-recovery flows through NemoClaw's centralized OpenShell gRPC-first adapter. This removes bespoke CLI marker and stream parsing while retaining the bounded pre-dispatch read-only CLI fallback required for gateways whose current metadata or edge-tunnel authentication cannot establish direct gRPC. This is the final cleanup PR in the dependent OpenShell gRPC migration stack and targets `refactor/openshell-remove-cluster-resource-probe/ae`. ## Changes - Route snapshot DCode quiescence checks through `execSandboxReadOnlyWithGrpcFallback` using the sandbox's persisted gateway identity. - Send the multiline DCode probe over validated stdin with `sh -s`, keeping command arguments control-character-free for both direct gRPC and the scoped CLI fallback. - Route process-recovery gateway status probes through the same gRPC-first boundary. - Preserve existing timeout and fail-closed behavior for transport errors, signals, unknown status, malformed output, and invalid gateway bindings. - Remove obsolete CLI marker and stream fixture plumbing. - Keep every remaining reviewed fallback importer explicit in the legacy-transport inventory; mutation paths are unchanged and never replay across transports. ## Type of Change - [x] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates - [x] Tests added or updated for changed behavior - [ ] Existing tests cover changed behavior — justification: - [ ] Tests not applicable — justification: - [ ] Docs updated for user-facing behavior changes - [x] Docs not applicable — justification: This changes internal probe transport only; command behavior and user-facing output remain unchanged. - [x] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [x] Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: Self-review completed by Aaron Erickson; probes are read-only, resolve the persisted gateway identity, validate the exact request shape, preserve bounded timeouts, and fail closed. Mutation paths are unchanged. - [ ] Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue: ## Verification - [x] PR description includes the DCO sign-off declaration and every commit appears as `Verified` in GitHub - [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or `npm run check:diff` passed when hooks were skipped or unavailable - [x] Targeted behavior tests pass for the current change set, or tests are marked not applicable above — command/result or justification: `npm run build:cli`; 88 focused process-recovery and snapshot assertions plus 9 legacy-transport integration assertions passed. After the final stdin request fix, all 64 focused snapshot assertions reran at the exact head and the captured production request passed the real centralized validator. - [ ] Applicable broad gate passed — `npm test` for broad runtime/test-harness changes; `npm run check` for repo-wide validation/coverage changes — command/result: Exact-head required CI will supply the broad repository gates. - [x] Quality Gates section completed with required justifications or waivers - [x] No secrets, API keys, or credentials committed - [ ] `npm run docs` builds without warnings (doc changes only) - [ ] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) --- Signed-off-by: Aaron Erickson <aerickson@nvidia.com> --------- Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
|
Closing as superseded: NemoClaw will consume the upstream OpenShell TypeScript SDK from NVIDIA/OpenShell#2122 instead of maintaining this raw gRPC/proto transport stack. |
Summary
Remove the
resourcescommand's direct Docker and Kubernetes node probe and NemoClaw's legacy host-alias command surface, leaving cluster and sandbox internals owned by OpenShell. Host CPU, memory, GPU, and profile reporting remain supported, and no private host-mutation fallback is added. This is PR 21 of 21 in the dependent OpenShell gRPC migration stack and targetsrefactor/openshell-remove-coredns-patch/ae.Changes
docker exec openshell-cluster-nemoclaw kubectl get nodesresource fallback.hosts-add,hosts-list, andhosts-removecommands and their KubernetesSandboxresource patch implementation./etc/hostsor other private mutation fallback is introduced.Type of Change
Quality Gates
Verification
pre-commit,commit-msg, andpre-pushhooks passed, ornpm run check:diffpassed when hooks were skipped or unavailable —npm run check:diffpassed against currentorigin/mainnpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — required CI will supply the broad repository gates at the pushed exact headnpm run docsbuilds without warnings (doc changes only) — the strict docs build passed with 0 errors; Fern reported 2 configured suppressed warningsSigned-off-by: Aaron Erickson aerickson@nvidia.com