Repository navigation
ci: report a stuck regen merge once per commit, with GitHub's reason - #197
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:
|
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 33370c93070d. Ship it 🚀
Left open, your call:
- consider: Any commenter can mute the did-not-merge alert (
.github/workflows/regen.yml:186)
Anyone who can comment on the PR could post the marker line and mute the heads-up for that commit.
Withdrawing approval until 910b161 is reviewed.
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.
Reviewed by Cursor Bugbot for commit 910b161. Configure here.
There was a problem hiding this comment.
Round 2 · ✅ 1 fixed · 🎉 Approved
Nice work, 🌵! Nothing blocking is left on 910b161af893. Ship it 🚀
Worth a human look: Whether gh pr view --json comments returns an App bot's author.login as the bare slug or slug[bot] (regen.yml:186 dedupe filter); settled by running gh pr view <n> --json comments --jq '.comments[].author.login' on a PR holding an App comment

CLA
Description of the pull request
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. #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
stream-sdk-java 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.