Skip to content

refactor(openshell): remove legacy host aliases - #6818

Merged
cv merged 9 commits into
refactor/openshell-remove-cluster-resource-probe/aefrom
refactor/openshell-remove-host-aliases/ae
Jul 14, 2026
Merged

cv merged 9 commits into
refactor/openshell-remove-cluster-resource-probe/aefrom
refactor/openshell-remove-host-aliases/ae

Conversation

@ericksoa

Copy link
Copy Markdown
Member

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)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • 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

  • PR description includes the DCO sign-off declaration and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run check:diff passed when hooks were skipped or unavailable
  • 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:
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (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 [email protected]

@coderabbitai

coderabbitai Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: d990f9b9-8fe7-42be-8a82-8621280666db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/openshell-remove-host-aliases/ae

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage remains at 96%, unchanged from the refactor/openshell-r... branch.

TypeScript / code-coverage/cli

The overall coverage in the refactor/openshell-r... branch remains at 79%, unchanged from the refactor/openshell-r... branch.

Show a code coverage summary of the most impacted files.
File refactor/openshell-r... 73c3791 refactor/openshell-r... 2659503 +/-
src/lib/cli/logger.ts 91% 76% -15%
src/lib/actions...dbox/connect.ts 76% 71% -5%
src/lib/inference/vllm.ts 77% 74% -3%
src/lib/state/sandbox.ts 85% 84% -1%
src/lib/state/o...oard-session.ts 85% 87% +2%
src/lib/resources-cmd.ts 84% 93% +9%
src/lib/diagnostics/debug.ts 14% 26% +12%
src/lib/adapter...dbox-control.ts 0% 75% +75%
src/lib/adapter...teway-config.ts 0% 77% +77%
src/lib/adapter...trol-routing.ts 0% 95% +95%

Updated July 14, 2026 02:52 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@github-actions

github-actions Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor — Informational

Advisor assessment: Informational / high confidence
Primary next action: No advisor follow-up required beyond maintainer review.
Findings: 0 blockers · 0 warnings · 0 optional suggestions
Status: No actionable findings remain in the canonical review ledger.

Model lanes

  • GPT-5.6 Terra (primary): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Nemotron 3 Ultra (non-blocking second opinion): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Model comparison: normalized findings match; normalized E2E selections differ; severity counts match.

Nemotron is a non-blocking second opinion. Its prose, findings, and E2E guidance do not change the primary assessment above and remain in workflow artifacts only.

E2E guidance

Advisory only: coverage and selector recommendations are non-authoritative. E2E / PR Gate independently computes and dispatches trusted jobs without consuming this output.

Recommended coverage: onboard-repair, onboard-resume
Recommended selectors: onboard-repair, onboard-resume

  • onboard-repair — Selected from the trusted checked-in E2E coverage inventory.

  • onboard-resume — Selected from the trusted checked-in E2E coverage inventory.

  • onboard-repair — Selected as a trusted checked-in E2E job.

  • onboard-resume — Selected as a trusted checked-in E2E job.

1 optional coverage item · 1 optional selector · 0 new-test recommendations
  • Optional coverage sandbox-operations — Selected from the trusted checked-in E2E coverage inventory.
  • Optional selector sandbox-operations — Selected as a trusted checked-in E2E job.

Workflow run details

This is an automated, non-authoritative review. Findings are inputs to maintainer adjudication. Warnings and optional suggestions do not require a response or follow-up. A human maintainer makes the final merge decision.

@github-actions

Copy link
Copy Markdown
Contributor

E2E Target Results — ✅ All requested tests passed

Run: 29300719380
Workflow ref: refactor/openshell-remove-host-aliases/ae
Requested targets: (default — all supported)
Requested test IDs: onboard-repair,onboard-resume
Summary: 2 passed, 0 failed, 0 cancelled, 0 skipped, 0 unknown

Test Result
onboard-repair ✅ success
onboard-resume ✅ success

@github-actions

Copy link
Copy Markdown
Contributor

E2E Target Results — ✅ All requested tests passed

Run: 29302221602
Workflow ref: refactor/openshell-remove-host-aliases/ae
Requested targets: (default — all supported)
Requested test IDs: onboard-repair,onboard-resume
Summary: 2 passed, 0 failed, 0 cancelled, 0 skipped, 0 unknown

Test Result
onboard-repair ✅ success
onboard-resume ✅ success

@cv
cv merged commit 1bcb5f3 into refactor/openshell-remove-cluster-resource-probe/ae Jul 14, 2026
129 of 136 checks passed
@cv
cv deleted the refactor/openshell-remove-host-aliases/ae branch July 14, 2026 04:57
@wscurran wscurran added area: cli Command line interface, flags, terminal UX, or output area: networking DNS, proxy, TLS, ports, host aliases, or connectivity area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery refactor PR restructures code without intended behavior change labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli Command line interface, flags, terminal UX, or output area: networking DNS, proxy, TLS, ports, host aliases, or connectivity area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery refactor PR restructures code without intended behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants