Repository navigation
test(e2e): supply bridge prerequisite in vLLM storage fixture - #14283
Conversation
Signed-off-by: Rebecca Sliter <[email protected]>
|
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. Walkthrough
Merge Risk:
|
Authoring session — opening
|
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 |
|
Validation for
This is focused repair validation, not a new full release-qualification run. |
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
deepujain
left a comment
There was a problem hiding this comment.
Thanks for keeping this to the fixture boundary. Supplying the bridge address through the existing resolveManagedBridgeHost hook lets the storage scenario reach its real Docker capacity checks, while production still runs validateManagedVllmBridgeHost on whatever the hook returns.
LGTM.
Verified on 2ebe20f
- Problem: Since #14122,
installVllmrunspreflightHostLocalVllmContainer(src/lib/inference/vllm.ts:1211) before the storage guard. This fixture has no OpenShell gateway, so the bridge lookup fails first. Onmain, run 42243892312 fails withvLLM install failed: Managed host-l…instead of the expected Hugging Face cache directory error. - Fix:
test/platform/images/vllm-docker-storage.test.ts:214-215passes a private bridge address into the child install. Assertions, capacity thresholds, deadlines and cleanup are unchanged, and no production code changes. - CI: 70 succeeded and 32 skipped, with no failures. Required checks (
checks,commit-lint,dco-check,check-hash,changes) passed. Security / Code Scanning and Self-Hosted PR Qualification passed. - PR Review Advisor: 42293753051 ran on
2ebe20f. All 9 specialists are clear. - E2E: The required
vllm-docker-storagejob passed on2ebe20fin run 42290778451, and both scenarios passed. - CodeRabbit: It finished on
2ebe20f, and there are no open threads.
Bring in the storage fixture bridge prerequisite from #14283 and the Model Router retirement from #14284. Keep the merge reporter unchanged. Refs #14163 Signed-off-by: Deepak Jain <[email protected]>
Outcome
The managed-vLLM storage E2E can reach its real Docker storage checks without an OpenShell gateway. All existing assertions, capacity thresholds, deadlines, and cleanup remain unchanged.
Reason
PR #14122 added bridge validation before storage checks. This fixture has no gateway, and its read-only Docker proxy rejects
network inspect. Both qualification attempts stopped there instead of reaching the intentional cache-directory error. The updated unit-test mocks covered the new prerequisite, but the opt-in real-Docker fixture did not.Changes
Supply a private bridge address through the existing
resolveManagedBridgeHostinstaller hook, with a comment explaining the fixture boundary. Production still validates the private address. Docker information, filesystem capacity measurements, command restrictions, and the separate restart scenario retain their existing owners.Verification
npx --no-install vitest run --project cli src/lib/inference/serving/vllm-host-local-network.test.ts src/lib/inference/vllm-configured-port.test.ts src/lib/inference/vllm-storage.test.ts: 54 tests passed.targets=vllm-docker-storage: both scenarios passed for2ebe20f11cfbf8d5f954f8ab5e690d2426c958d2in run 42290778451. Verified artifact digests and dispatch identity. The receipt records real Docker-root capacity, the original command inventory, and completed cleanup.Signed-off-by: Rebecca Sliter [email protected]