test(e2e): guard scenario workflow drift#4655
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR updates e2e scenario configuration and validation by adding four new scenario routes to the GitHub Actions workflow, correcting coverage report path references, and introducing a test that validates workflow routing stays synchronized with the scenario registry. ChangesE2E Scenario Routes and Coverage Alignment
🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: None 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. |
|
✨ |
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
|
Resolved the merge conflicts by merging current main into the PR branch. Also addressed the PR Review Advisor feedback by extending the e2e-scenarios workflow drift guard to compare each workflow ROUTES runner label against resolveRunnerForScenario(scenario).runner. |
Summary
Adds drift guards so typed scenario IDs stay aligned with the scenario workflow route table. Also updates the scenario coverage report source-path text to the current
test/e2e-scenariolayout.Related Issue
Refs #3588.
Changes
.github/workflows/e2e-scenarios.yamlrunner route and that the route table has no unknown IDs.e2e-coverage-report.test.ts.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Additional verification run:
npx vitest run --project e2e-scenario-framework test/e2e-scenario/framework-tests/e2e-scenarios-workflow.test.ts test/e2e-scenario/framework-tests/e2e-coverage-report.test.ts --silent=false --reporter=defaultnpx prek run --files .github/workflows/e2e-scenarios.yaml test/e2e-scenario/framework-tests/e2e-scenarios-workflow.test.ts test/e2e-scenario/framework-tests/e2e-coverage-report.test.ts test/e2e-scenario/runtime/resolver/coverage.tsSigned-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit
Tests
Chores