Repository navigation
ci: report a stuck regen merge once per commit, with GitHub's reason - #399
Merged
Merged
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.
Reviewed by Cursor Bugbot for commit e828c53. 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 a0bbfa2e9639. Ship it 🚀
Left open, your call:
- consider: Merge refusal from an earlier pass is reported as the final reason (
.github/workflows/regen.yml:176) - consider: Refusal wording is part of the dedupe key (
.github/workflows/regen.yml:183)
Anyone who can comment on the PR could post the marker line and mute the heads-up for that commit.
getstream-metis
Bot
dismissed
their stale review
December 5, 2026 11:53
Withdrawing approval until 6f60250 is reviewed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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
stream-py 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.