Skip to content

test(e2e): supply bridge prerequisite in vLLM storage fixture - #14283

Merged
rsliter merged 1 commit into
mainfrom
codex/vllm-storage-bridge-fixture
Nov 9, 2026
Merged

rsliter merged 1 commit into
mainfrom
codex/vllm-storage-bridge-fixture

Conversation

@rsliter

@rsliter rsliter commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

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 resolveManagedBridgeHost installer 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.
  • Source audit traced both existing scenarios through prerequisites, unreached capacity assertions, evidence writing, and cleanup. No assertion was removed or weakened.
  • Native-Linux targets=vllm-docker-storage: both scenarios passed for 2ebe20f11cfbf8d5f954f8ab5e690d2426c958d2 in run 42290778451. Verified artifact digests and dispatch identity. The receipt records real Docker-root capacity, the original command inventory, and completed cleanup.
  • Normal pre-commit, commit-message, and pre-push publication/build/type-check hooks passed.
  • Reviewed the complete two-line diff: no secrets, API keys, credentials, production changes, or new dependencies.

Signed-off-by: Rebecca Sliter [email protected]

@rsliter rsliter self-assigned this Nov 6, 2026
@copy-pr-bot

copy-pr-bot Bot commented Nov 6, 2026

Copy link
Copy Markdown

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.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The vLLM Docker storage test fixture now supplies 172.18.0.1 as the managed bridge host for the child install. It retains real Docker capacity checks.

Changes: Managed vLLM storage fixture

Layer / File(s) Summary
Set managed bridge host
test/platform/images/vllm-docker-storage.test.ts
The child install options resolve the managed bridge host to 172.18.0.1. The fixture retains real Docker capacity checks.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: deepujain

Merge Risk: Minimal · up to 2ebe2

The fixture supplies the missing bridge address. No merge-blocking issue is established; the native-Linux storage run remains pending.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the bridge prerequisite added to the vLLM storage fixture.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7757000 and 2ebe20f.

Files selected for processing: 1

  • test/platform/images/vllm-docker-storage.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

@rsliter

rsliter commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Codex Desktop, recorded CLI version 0.159.2 Persisted session metadata; repository and repair-branch activity confirm the authoring record.
Skills partial nemoclaw-contributor-create-pr, nemoclaw-contributor-implement-issue, nemoclaw-contributor-onboard, nemoclaw-contributor-plan-issue, nemoclaw-maintainer-audit-e2e-assertions, nemoclaw-maintainer-e2e, nemoclaw-maintainer-validate-launchable Complete reads found in retained nontruncated tool responses. 65 responses contain truncation markers, so the full skill-read inventory cannot be established. Listed skills span the earlier qualification and this repair.
Instruction files partial AGENTS.md; CONTRIBUTING.md; WRITING.md; development.md; e2e-authoring.md; PR and session-report templates; shared Git access, change, state, security, writing, and PR follow-up guidance Complete injected/read text is retained for these applicable instructions. Truncated earlier responses prevent a complete session-wide instruction inventory.
Tool calls partial exec: 987; request_user_input_async: 8; sleep: 170; wait: 75 Counts attempted top-level wrapper invocations, including failures, across the whole session through cutoff. Nested operations are not added; wrapper outputs do not retain a complete per-invocation nested-tool inventory.
Session window recorded 2026-11-03T21:27:27.522Z to 2026-11-06T20:34:19.248Z; 2 days, 23:06:51 elapsed Whole session, including idle time and prior qualification/investigation work. No fork is recorded. This PR's authoring scope is the two-line storage fixture repair.
Compactions recorded 10 Persisted compaction events through cutoff.
Models recorded gpt-6-astra Recorded turn contexts through cutoff.
Reasoning levels recorded high Recorded turn contexts through cutoff.

@github-code-quality

github-code-quality Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage/plugin

main 63002cd codex/vllm-storage-b... 2ebe20f +/-
96% 97% +1%
View coverage of the 10 most impacted files.
File main 63002cd codex/vllm-storage-b... 2ebe20f +/-
nemoclaw/src/sh...cy-boundary.cts 100% 97% -3%
nemoclaw/src/onboard/config.ts 98% 96% -2%
nemoclaw/src/ru...time-context.ts 100% 99% -1%
nemoclaw/src/bl...print/runner.ts 95% 95% 0%
nemoclaw/src/bl...ime-identity.ts 97% 97% 0%
nemoclaw/src/bl...t-management.ts 100% 100% 0%
nemoclaw/src/index.ts 94% 99% +5%
nemoclaw/src/de...search-state.ts 0% 100% +100%
nemoclaw/src/on...native-route.ts 0% 100% +100%
nemoclaw/src/search-config.ts 0% 100% +100%

TypeScript / code-coverage/cli

main 63002cd codex/vllm-storage-b... 2ebe20f +/-
84% 86% +2%
View coverage of the 10 most impacted files.
File main 63002cd codex/vllm-storage-b... 2ebe20f +/-
src/lib/onboard.ts 62% 50% -12%
src/lib/actions...ess-recovery.ts 65% 81% +16%
src/lib/inferen...ollama/proxy.ts 41% 61% +20%
src/lib/onboard.../application.ts 55% 84% +29%
src/lib/domain/...y/dimensions.ts 0% 73% +73%
src/lib/actions...ry/operation.ts 0% 76% +76%
src/lib/inferen...er/lifecycle.ts 0% 78% +78%
src/lib/actions...try/snapshot.ts 0% 83% +83%
src/lib/inferen...ovider/index.ts 0% 89% +89%
src/lib/actions...ned-recovery.ts 0% 93% +93%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated November 06, 2026 21:04 UTC

@rsliter
rsliter marked this pull request as ready for review November 6, 2026 20:45
@rsliter

rsliter commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

Validation for 2ebe20f11cfbf8d5f954f8ab5e690d2426c958d2:

  • Advisor's required vllm-docker-storage job: PASS, dispatched as targets=vllm-docker-storage through trusted main. The workflow planner selects the same credential-free test from either the jobs or targets list. Run · Docker job.
  • Both scenarios passed: storage-gate acceptance and startup-error retention across a Docker restart. Zero failures, skips, or unhandled errors. Artifact digests and candidate/base/workflow identities verified; real capacity measurements and cleanup phases retained.
  • All nine Advisor specialists reported no blockers and no additional recommendations, including optional E2Es. Advisor run.
  • CI and CodeRabbit passed. Local focused bridge, port-validation, and storage tests: 54 passed.

This is focused repair validation, not a new full release-qualification run.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 2ebe20f. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

Request review only when Require no Advisor blockers is green.

All previous runs

@deepujain deepujain left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, installVllm runs preflightHostLocalVllmContainer (src/lib/inference/vllm.ts:1211) before the storage guard. This fixture has no OpenShell gateway, so the bridge lookup fails first. On main, run 42243892312 fails with vLLM install failed: Managed host-l… instead of the expected Hugging Face cache directory error.
  • Fix: test/platform/images/vllm-docker-storage.test.ts:214-215 passes 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-storage job passed on 2ebe20f in run 42290778451, and both scenarios passed.
  • CodeRabbit: It finished on 2ebe20f, and there are no open threads.

@rsliter
rsliter merged commit f201cc0 into main Nov 9, 2026
104 checks passed
@rsliter
rsliter deleted the codex/vllm-storage-bridge-fixture branch November 9, 2026 23:52
deepujain added a commit that referenced this pull request Nov 10, 2026
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]>
@wscurran wscurran added area: e2e End-to-end tests, nightly failures, or validation infrastructure area: providers Inference provider integrations and provider behavior chore Build, CI, dependency, or tooling maintenance provider: vllm vLLM local or hosted provider behavior labels Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: e2e End-to-end tests, nightly failures, or validation infrastructure area: providers Inference provider integrations and provider behavior chore Build, CI, dependency, or tooling maintenance provider: vllm vLLM local or hosted provider behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants