test(e2e): migrate model router routed inference to Vitest#5137
Conversation
|
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, 0 worth checking, 0 nice ideas Consider writing more tests for
This is an automated advisory review. A human maintainer must make the final merge decision. |
|
✨ |
|
Reopening #5151 for now. PR-stack migrations that are not yet confirmed with working E2E scenario tests should not supersede PRs that already have working E2E scenario evidence. #5151 demonstrated green typed scenario coverage, including |
|
Closing this as superseded by #5151 for now. #5151 covers the same provider-routed model-router migration and has working E2E scenario evidence: If this branch has distinct assertions worth preserving, please port them onto #5151 or re-open after proving equivalent E2E on this #5126-based stack. |
Summary
Migrates the Model Router provider-routed inference regression from the legacy
test/e2eshell wrapper into a single Vitest live scenario. The regression workflow now builds the checkout CLI, prepares OpenShell, runs the scenario directly throughe2e-scenarios-live, and uploads fixture artifacts.Related Issue
Refs #4941
Changes
test/e2e-scenario/live/model-router-provider-routed-inference.test.tswith routed onboard, model-router health, andinference.localPONG assertions.test/e2e/test-model-router-provider-routed-inference.shinregression-e2e.yamlwith direct Vitest execution and artifact upload.test/regression-e2e-workflow.test.tsto lock the new workflow contract and keep the retired shell path out.Legacy E2E deletion evidence
test/e2e/test-model-router-provider-routed-inference.shtest/e2e-scenario/live/model-router-provider-routed-inference.test.tsType of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com