fix(uninstall): remove orphaned managed vllm - #9031
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. |
|
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 (2)
📝 WalkthroughWalkthroughThe uninstall plan now detects orphaned host-local vLLM containers, removes only verified managed containers, and stops on removal failure. Tests cover labeled and unlabeled containers plus Docker inspection of reserved inference names. ChangesHost-local vLLM cleanup
Estimated code review effort: 3 (Moderate) | ~20 minutes Mergeability Score: ⚪ Minimal · up to The PR narrowly updates full uninstall cleanup for verified managed orphan containers and adds regression coverage; no actionable merge-blocking risk remains beyond normal checks and review. Sequence Diagram(s)sequenceDiagram
participant UninstallPlan
participant Docker
participant HostLocalVLLM
UninstallPlan->>Docker: inspect nemoclaw-vllm
Docker-->>UninstallPlan: return container metadata
UninstallPlan->>Docker: force-remove verified container
Docker->>HostLocalVLLM: remove managed container
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
The pull request cannot enter the merge train yet. Commit |
|
Superseded by the signed-off replacement PR opened after this branch could not be force-pushed under repository rules. |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
1 additional E2E selection from the second opinionAdvisory only. The primary lane did not select these E2E jobs or targets.
Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests. 1 semantic terminology decisionTerminology decisions are advisory. They affect the assessment only when a separate finding identifies concrete semantic impact.
E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: None 1 optional E2E recommendation
1 warning · 0 suggestionsWarningsWarnings do not block.
|
Summary
nemoclaw-vllmcontainer during full uninstall when Docker verifies its NemoClaw managed labelRoot cause
The host-local vLLM cleanup only ran when its local key state existed. A legacy/orphaned managed container with the reserved name and managed label but no local state was skipped, then caused the residual-container guard to abort the rest of uninstall.
Validation
npx vitest run src/lib/actions/uninstall/run-plan-local-model-profile.test.tsnpm run typecheck:clinpx @biomejs/biome check src/lib/actions/uninstall/run-plan.ts src/lib/actions/uninstall/run-plan-local-model-profile.test.tsnemoclaw-vllmorphan and all NemoClaw resourcesCloses #8981
Summary by CodeRabbit