ci: fix E2E Vitest workflow dispatch parse#5335
Conversation
|
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 (2)
📝 WalkthroughWalkthroughThe PR refactors Docker authentication configuration in the ChangesDocker Auth Isolation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
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 unit tests (beta)
Comment |
Vitest E2E Scenario Results — ✅ All jobs passedRun: 27422272762
|
Summary
Fixes the current
E2E / Vitest Scenariosworkflow dispatch parse failure caused by using${{ runner.temp }}in job-levelenvfor the model-router provider-routed Vitest job.GitHub rejects the workflow before dispatch with:
Changes
DOCKER_CONFIG: ${{ runner.temp }}/....DOCKER_CONFIG=${RUNNER_TEMP}/...to$GITHUB_ENVbefore Docker Hub auth.DOCKER_CONFIGand to require the$RUNNER_TEMPsetup step.Validation
npx vitest run --project e2e-vitest-support test/e2e-scenario/support-tests/e2e-scenarios-workflow.test.ts --reporter=default✅git diff --check✅Note: an initial normal
git committriggered local hooks that failed because this worktree lacks installed dependencies/dist artifacts (@oclif/core,tsx,dist/...). The commit was created with--no-verifyafter the focused workflow-boundary test passed.Summary by CodeRabbit