test(e2e): accept managed vLLM recovery inspection - #8521
Conversation
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
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. |
📝 WalkthroughWalkthroughThe vLLM Docker storage test now permits ChangesvLLM Docker validation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/vllm-docker-storage.test.ts (1)
253-259: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winAdd a negative assertion for non-managed container inspection.
This assertion proves that
nemoclaw-vllmis inspected. It does not prove that another inspection target is rejected. If the proxy later permits everycontainer inspectcall, this test still passes. Add a proxy-level negative probe and assert the existing rejection status for a different container name.As per path instructions, review tests for behavioral confidence rather than implementation lock-in.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@test/vllm-docker-storage.test.ts` around lines 253 - 259, Extend the test around the existing docker command assertions to issue a proxy-level container inspect request for a different container name, then assert the established rejection status. Keep the positive HOST_LOCAL_VLLM_CONTAINER_NAME assertion and validate behavior through the proxy rather than adding implementation-specific checks.Source: Path instructions
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@test/vllm-docker-storage.test.ts`:
- Around line 253-259: Extend the test around the existing docker command
assertions to issue a proxy-level container inspect request for a different
container name, then assert the established rejection status. Keep the positive
HOST_LOCAL_VLLM_CONTAINER_NAME assertion and validate behavior through the proxy
rather than adding implementation-specific checks.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 5f7ff173-1b62-4e6e-bceb-71f5654d87da
📒 Files selected for processing (1)
test/vllm-docker-storage.test.ts
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests. E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite against this exact revision. Recommended E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
Addressed the CodeRabbit negative-coverage finding in verified commit 9faf7a6: the E2E now invokes the Docker proxy with a different container name and asserts the established rejection status, with the required timeout and SIGKILL bounds. Formatting, type checking, semantic E2E phase validation, normal hooks, and test collection pass. |
…fix-vllm-docker-storage-contract
…-storage-contract
…fix-vllm-docker-storage-contract
|
Current-main refresh is now visible and the prior approval remains. The refreshed DCO check is failing because the PR description is empty; the gate expects a |
Summary
The vLLM Docker storage E2E proxy now accepts the read-only managed-container inspection that recovery performs before deciding whether to reuse or recreate the local vLLM container. The proxy remains fail-closed for any other container name.
Main E2E evidence
Shared E2E (vllm-docker-storage))docker container inspect nemoclaw-vllm, even though the recovery implementation now performs that read-only inspection.Changes
docker container inspectonly for the exact managed vLLM container name.Type of Change
Quality Gates
Documentation Writer Review
no-docs-neededtest/vllm-docker-storage.test.ts(+20/-3) and changes no production or user-facing behavior.Verification
Signed-off-by:line and every PR commit is signed/verifiednpx biome check test/vllm-docker-storage.test.tsnpm run build:clinpm --prefix nemoclaw run buildnpm run typechecknpm run test:projects:checknpm run test:e2e-phases:check(122 tests across 79 files)Signed-off-by: Charan Jagwani cjagwani@nvidia.com