Repository navigation
gh-merge-green: allow explicit Vercel status override - #18614
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe merge script now permits an override reason that mentions Vercel to skip pending or failed checks for the exact ChangesVercel Status Override
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The explicit override waives only the Vercel status, while other pending statuses remain blockers. No actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3485d2f. Configure here.
| if [ "$skip_vercel" -eq 1 ] && [ "$name" = Vercel ]; then | ||
| echo "note: --override waived Vercel $st/$co status" >&2 | ||
| continue | ||
| fi |
There was a problem hiding this comment.
Waived Vercel counts as reported
Medium Severity
The Vercel skip continues after reported is incremented, so a waived pending Vercel status still satisfies the later “no checks have reported” guard. A head whose only GitHub verdict is that pending status can merge under --override, including in the window before Actions has created any check runs.
Reviewed by Cursor Bugbot for commit 3485d2f. Configure here.
|
merge-override: Vercel Agent Review is an optional external status and this exact head is fully validated |
|
Merge receipt for |
29661b9 gh-merge-green: allow explicit Vercel status override (manaflow-ai#18614) dd6e295 fix: preserve SSH ProxyCommand child environment (manaflow-ai#18285) f0a2bad Reject invalid Python regression-lane timeouts (manaflow-ai#18476) 3430354 Preserve PR media referenced through GitHub blob URLs (manaflow-ai#18562) 3b71b41 Reset a browser pane's selected frame and element refs when the page navigates (manaflow-ai#18577) 04e1d68 Clear force-close bypass when a confirmed close is rejected (manaflow-ai#18414) 8d86447 Treat Copilot value flags as value options when restoring (manaflow-ai#18470) f6c678a Keep __proto__ keys in whole-area browser storage reads (manaflow-ai#18527) 7e97128 Keep minimized windows in the Dock when the global hotkey reveals cmux (manaflow-ai#18533)


The merge helper currently blocks on a pending
Vercelstatus even when the deployment is unrelated to the change. Add an explicit--overridepath that waives only the exactVercelstatus when the reason names Vercel; every other pending status remains a blocker and the reason is posted to the PR.Validation:
python3 -m unittest tests.test_gh_merge_green(60 tests).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Adds an explicit
--overridepath togh-merge-greenthat waives only the Vercel status when the override reason names Vercel, so a pending or red preview deployment no longer blocks an unrelated merge.Vercel(case-insensitive); all other pending statuses remain merge blockers.Written for commit 3485d2f. Summary will update on new commits.
Note
Medium Risk
Narrows merge gating for repos without ci-status by allowing one external status to be skipped based on a text match in the override reason; other checks and override audit behavior are unchanged.
Overview
gh-merge-greennow treats a pending or redVercelcommit status as waivable when you pass--overridewith a reason that mentions Vercel (8+ words, existing rules). Askip_vercelflag is set from that substring match; in the no aggregateci-statusworkflow path, only the exact context nameVercelis skipped and a stderr note is printed—every other status context still blocks merge.Tests extend
WorkflowPresenceRegression.run_casewithextra_args, stubgh pr comment, and addtest_vercel_override_waives_only_the_named_external_status(pending Vercel merges with a Vercel-named override; pendingreviewstill refuses).Reviewed by Cursor Bugbot for commit 3485d2f. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit