Repository navigation
fix(e2e): adapt three E2E jobs to Ubuntu 26.04 runners - #13716
Conversation
- vllm-docker-storage: create the fake home under RUNNER_TEMP; /tmp is a small tmpfs on 26.04, so the storage gate stopped the run before the asserted cache-directory error. - launchable-smoke: pass bootstrap inputs through sudo -n env NAME=value; sudo-rs ignores -E, so the script cloned to its default location. - model-router-provider-routed-inference: pin the job to ubuntu-24.04; 26.04 ships only Python 3.14, outside Model Router's supported range. Signed-off-by: San Dang <[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.
|
| Layer / File(s) | Summary |
|---|---|
Build and validate bootstrap arguments test/e2e/fixtures/bootstrap-install-command.ts, test/automation/e2e/brev-launchable-ci-cpu-checksum.test.ts |
The helper builds noninteractive sudo environment arguments and supplies defaults for Docker pulling and the OpenShell channel. Tests check default and selected values, confirm fixture secrets are absent, and verify token variables remain unset. |
Use shared arguments in smoke test test/e2e/live/launchable-smoke.test.ts |
The smoke test uses the helper to construct the bootstrap command arguments. Its command environment and install timeout remain unchanged. |
vLLM storage-test fixture
| Layer / File(s) | Summary |
|---|---|
Select the fixture directory test/platform/images/vllm-docker-storage.test.ts |
The fixture uses RUNNER_TEMP when set and otherwise uses the OS temporary directory. Comments describe the hosted-runner storage constraint and the intended cache-directory error. |
Model Router runner pin
| Layer / File(s) | Summary |
|---|---|
Pin the target runner tools/e2e/target-catalogue.mts |
The Model Router E2E target uses ubuntu-24.04 instead of the default runner. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Suggested reviewers: rsliter, deepujain, prekshivyas
Merge Risk: 
Minimal · up to e03e4
-
No established issue blocks merging. The Model Router runner pin will receive its first reported runtime validation on a main push.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed -
Finishing Touches: 💡 1
-
📝 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
Comment @coderabbitai help to get the list of available commands.
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 |
Adopt the bootstrap sudo argument helper and its fast test from #12382 so the launchable smoke change has mapped fast-test parity. Signed-off-by: San Dang <[email protected]>
E2E evidence for e03e490Manual PR E2E run 40284953400, attempt 1, passed on the
Not yet verifiedThis run did not cover |
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
|
Reviewed No blocking findings in the changed code. The sudo helper passes the intended non-secret inputs as separate arguments, the vLLM test retains its production storage checks, and the Model Router runner setting reaches the existing workflow. The artifacts from run 40284953400 match this candidate. Both Two evidence limitations remain:
This review used source inspection and existing CI artifacts. No local tests were run. |
Required-coverage E2E for e03e490The PR Review Advisor (run 40287240533) required these jobs:
This PR was merged at 08:02 UTC, before this run finished. The run tested the same head commit that was merged.
|
|
Post-merge result: in |
"## Outcome
Three E2E jobs fail on every run since
ubuntu-latestbecame Ubuntu 26.04 (image 20261012.163.1). This PR makes the smallest test-harness changes needed for them to pass. It contains no product changes.Reason
os.tmpdir(). On 26.04,/tmphad only 7.7 GiB free, which is less than the 9.3 GB the model cache needs. As a result, the earlier "Insufficient storage" check stopped the run before the error the test expects (could not create Hugging Face cache directory).-E.NEMOCLAW_CLONE_DIRnever reachedscripts/brev-launchable-ci-cpu.sh, so the script cloned to/home/runner/NemoClaw. The test then found<cloneDir>/distmissing.src/lib/onboard/model-router-python.ts), so onboarding exits 1.PR #12382 already contains the first two fixes, but that PR is a large OpenClaw upgrade. This PR applies those two fixes separately so they do not wait on it.
Related issues
Refs #12382
Changes
test/platform/images/vllm-docker-storage.test.ts: create the fake home underRUNNER_TEMP, which is on the runner disk. Off CI, it falls back toos.tmpdir().test/e2e/live/launchable-smoke.test.tsand newtest/e2e/fixtures/bootstrap-install-command.ts: runsudo -n env NAME=value ... bash <script>with the bootstrap's non-secret inputs:LAUNCH_LOG,NEMOCLAW_CLONE_DIR,NEMOCLAW_REF,SKIP_DOCKER_PULL, andNEMOCLAW_OPENSHELL_CHANNEL(defaultstable). No secrets are passed on the command line. The helper and its fast test intest/automation/e2e/brev-launchable-ci-cpu-checksum.test.tsare copied unchanged from chore(deps): update OpenClaw to 2026.10.5 #12382, which keeps the mock/live parity gate satisfied and avoids a merge conflict with that PR.tools/e2e/target-catalogue.mts: pinmodel-router-provider-routed-inferencetoubuntu-24.04. The Pi qualification target already uses this pin.No assertion, threshold, or deadline changed.
Verification
npx vitest run test/e2e/support/workflow-plan.test.ts test/e2e/support/model-router-provider-routed-inference.test.ts test/e2e/support/vllm-docker-storage-telemetry.test.ts test/automation/e2e/e2e-recommendations.test.ts test/e2e/support/standard-profile-workflow-boundary.test.ts test/e2e/support/larger-runner-routing-workflow-boundary.test.ts test/e2e/support/credential-free-tests.test.ts— all passed.e03e4903f4,ubuntu-26.04image:Shared E2E (vllm-docker-storage-docker)andInstall: bootstraps NemoClaw and completes hosted inference (docker)both passed.d9b7f0abe7also passed both jobs. In that run,Inference: Model Routerstill failed with the Python 3.14 error. This is expected. Manual PR E2E builds its matrix fromtools/e2e/target-catalogue.mtsat the trustedmainworkflow SHA (generate-matrixchecks outgithub.workflow_sha), so the candidate's runner pin cannot take effect before merge. The Pi qualification target already uses the samerunner: "ubuntu-24.04"field. Runtime evidence for Model Router will come from the firstmainpush run after merge.npx vitest run test/automation/e2e/brev-launchable-ci-cpu-checksum.test.ts— 24 passed.npx tsx scripts/checks/e2e-mock-parity.mts --base origin/main --head HEAD— passed.Review notes
Pinning Model Router to 24.04 only unblocks CI. Real users on Ubuntu 26.04 still hit the same Python 3.14 block. Fixing that needs a product decision: either qualify Python 3.14 for Model Router or document a supported interpreter. That work is out of scope here.
Signed-off-by: San Dang [email protected]
"
Summary by CodeRabbit