Repository navigation
ci: report a stuck regen merge once per commit, with GitHub's reason - #323
Conversation
Each Regenerate run that found an unmergeable regen PR waited 45 minutes and posted the same heads-up, so one stuck commit could post every day. The first run to give up now leaves a PR comment naming the commit and GitHub's last merge refusal; a later run on the same commit finds it and only logs a notice. The Slack line carries the refusal.
👋 Thanks, 🌵! I'm on it.How to work with me
CommandsComment any of these on the PR:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3b9ebb0. Configure here.
A run that gave up while checks were still pending left a reasonless comment, which kept a later run's GitHub refusal out of Slack. The comment is now matched on the commit and the reason together.
There was a problem hiding this comment.
🎉 Approved · round 1
Nice work, 🌵! Nothing blocking is left on 4e9c77cad35b. Ship it 🚀
Left open, your call:
- consider: Old merge refusal can be reported as the timeout reason (
.github/workflows/regen.yml:146)
Anyone who can comment on the PR could post the marker line and mute the heads-up for that commit.
Withdrawing approval until 2b3b901 is reviewed.
|
No open findings, but I'm not approving this head: required sweep skipped; push a commit or comment /jeffery rereview. |

Problem
When a regen PR cannot merge, every Regenerate run that finds it open waits 45 minutes and posts "did not merge within 45 minutes" again, without saying why. GetStream/stream-sdk-java#195 posted three times for one commit (the openapi-release run, the run its integration finish started, and the daily run) while an unresolved Cursor Bugbot thread blocked the merge.
Solution
getstream-go regen #N did not merge within 45 minutes. GitHub says: All comments must be resolved. At least 1 approving review is required by reviewers with write access.Who gets mentioned is unchanged.How to verify
actionlint .github/workflows/regen.ymlreports the same findings as on the base branch, only with shifted line numbers.land()ran locally withghstubbed to refuse the merge: the first run commented once, wrote the note with the reason and exited 1; a second run on the same commit and reason logged the notice and exited 0 with no note; a first run that timed out on pending checks did not hide a later run's refusal; a matching comment by another author did not mute it; with the merge allowed it exited 0 and left no comment.