test(e2e): migrate onboard inference smoke to Vitest#5149
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. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: Dispatch required scenario E2E:
Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 1 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
Consider writing more tests for
Since last review detailsCurrent findings:
This is an automated advisory review. A human maintainer must make the final merge decision. |
Summary
Migrates the onboard inference smoke regression from the legacy shell script into a Vitest live scenario. The scenario builds the CLI, runs a host-side
setupInference()probe with the child process forced out of Vitest mode, and verifies runtime-broken configured routes are rejected by the real chat/completions smoke path.Related Issue
Refs #4941
Refs #3253
Changes
test/e2e-scenario/live/onboard-inference-smoke.test.tswith the compatible-endpoint HTTP 503 regression probe.test/e2e/test-onboard-inference-smoke.shinregression-e2e.yamlwith direct Vitest execution and artifact upload.test/regression-e2e-workflow.test.tsto lock the direct Vitest workflow contract.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com