-
Notifications
You must be signed in to change notification settings - Fork 0
ci: report E2E preview test status back to PR commits #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Workflow: - Add `statuses: write` permission for commit status API - Add step to report job status to original PR commit SHA - Enables `Run E2E Tests on Preview` as a required check in branch protection Documentation: - Reorder setup guide: trigger workflows before configuring branch protection - Add Part 4 (Trigger Initial Workflows) to ensure check names exist in GitHub - Renumber Branch Protection to Part 5, CodeRabbit to Part 6 (Optional) - Add "Do not require status checks on creation" setting - Replace project-specific "devflow" with generic "my_proj" - Remove redundant Verify Setup section and Appendix The `repository_dispatch` event runs in the context of main, not the PR branch. Without explicit status reporting, GitHub never associates the workflow result with the PR, causing required checks to block indefinitely. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughThis pull request updates the E2E Vercel workflow to report test statuses back to pull requests and revises the project setup documentation. The workflow now includes write permission for statuses and a reporting step that communicates test results. Documentation is restructured with updated project naming and enhanced instructions for E2E testing and branch protection configuration. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~18 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
statuses: writepermission and status reporting step totest-e2e-vercel.ymlWhy
The
repository_dispatchevent runs in the context ofmain, not the PR branch. Without explicit status reporting, GitHub never associates the workflow result with the PR — causing required checks to block indefinitely.Test plan
Run E2E Tests on Previewappears in PR checks after Vercel deploysRun E2E Tests on Previewto branch ruleset🤖 Generated with Claude Code