Skip to content

fix(ci): don't block Release Please PRs on Cursor Bugbot - #60

Open
teallarson wants to merge 1 commit into
mainfrom
cursor/check-skip-bugbot-release-prs-034a
Open

teallarson wants to merge 1 commit into
mainfrom
cursor/check-skip-bugbot-release-prs-034a

Conversation

@teallarson

@teallarson teallarson commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

What/why

What failed: check on the 0.9.2 release PR (#59) ran for 15 minutes printing "Waiting for Cursor Bugbot check to appear..." and then failed with "Timed out waiting for Cursor Bugbot" (job log). Every verify job passed, and the release contents are correct: all version-carrying files are at 0.9.2.

Root cause: On every non-draft PR, check requires a Cursor Bugbot check run on the head commit. On 45fc922, Cursor's check suite stayed queued and Bugbot never created a check run. Bugbot had run on every earlier release-branch commit, so this was a miss on Cursor's side. That miss is enough to block a release PR made entirely of generated version bumps.

Fix: Skip the Bugbot wait on Release Please PRs. The skip applies only when the PR is authored by arcade-plugin-bot[bot], comes from a release-please--* branch in this repo, and every commit on it is a GitHub-verified commit by that bot. If anyone else pushes a commit to the release branch, the Bugbot requirement comes back. Every other PR is unchanged.

Codebase changes

  • .github/workflows/check.yml: adds the release-PR exemption ahead of the Bugbot polling loop.
  • README.md: one sentence documenting the exemption.

Additional notes

The commit type is fix(ci) rather than ci on purpose. Release Please only rewrites an open release PR when its release notes change, so this adds a changelog line, regenerates #59, and gives it a fresh check run that uses this workflow.

Open in Web Open in Cursor 

Note

Low Risk
CI-only change with a narrow exemption; normal PRs still require Bugbot, and manual commits on release branches re-enable it.

Reviewed by Cursor Bugbot for commit ffb69a9. Bugbot is set up for automated code reviews on this repo. Configure here.

check timed out on #59 because Cursor Bugbot never started on its head
commit. Skip the Bugbot wait on Release Please PRs while every commit on
them is a GitHub-verified commit by arcade-plugin-bot[bot]; any other
pushed commit restores the requirement.

Co-authored-by: Teal Larson <LARSON.TEAL@GMAIL.COM>
@teallarson
teallarson marked this pull request as ready for review November 2, 2026 17:57
@teallarson
teallarson requested a review from a team as a code owner November 2, 2026 17:57

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

if [ "${PR_AUTHOR}" = "${RELEASE_BOT}" ] && [ "${HEAD_REPO}" = "${repo}" ] && [[ "${HEAD_REF}" == release-please--* ]]; then
other_commits="$(
gh api "repos/${repo}/pulls/${PR_NUMBER}/commits" --paginate |
jq -s --arg bot "${RELEASE_BOT}" '[.[][] | select(.author.login != $bot or .commit.verification.verified != true)] | length'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing permission fails release skip

High Severity

The skip path lists PR commits with GH_TOKEN, but the check job only grants checks: read. Job-level permissions replace the workflow grants and leave pull-requests as none, so gh api can 403 and set -euo pipefail fails the step before Bugbot is skipped or polled. Release Please PRs stay blocked, and check can fail even when Bugbot later succeeds.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ffb69a9. Configure here.

@teallarson

Copy link
Copy Markdown
Contributor Author

@BugBot review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

1 issue from previous review remains unresolved.

Fix All in Cursor

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit ffb69a9. Configure here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants