Skip to content

Review queue: wait for a merge another run started - #119

Merged
wogglesl-review[bot] merged 1 commit into
mainfrom
queue-merge-race
Dec 4, 2026
Merged

wogglesl-review[bot] merged 1 commit into
mainfrom
queue-merge-race

Conversation

@R3disme

@R3disme R3disme commented Dec 4, 2026

Copy link
Copy Markdown
Member

What and why

When a @WoggleSL/review run comment and the board sync reached the same approved PR at the same time, both tried to merge it. The second run checked the state while GitHub was still finishing the first merge, and posted "Approved, but merging failed: Merge already in progress" (seen on wogglesl.github.io#8, which merged fine). It also moved the card to Waiting on author.

Now, after a failed merge call, the bot checks the PR's state again for up to 30 seconds and only reports a failure if it still hasn't merged. The two workflows keep separate concurrency groups: sharing one would let GitHub drop a queued comment command whenever a scheduled sync is waiting.

How it was tested

python3 -m py_compile. The change only touches the error path after a failed merge call.

Wiki

Wiki: not needed - review bot internals only

@R3disme
R3disme requested a review from a team as a code owner December 4, 2026 11:31
Copilot AI balanced review requested due to automatic review settings December 4, 2026 11:31

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@wogglesl-review wogglesl-review Bot added the In-Review Finished and waiting for a maintainer's review label Dec 4, 2026

@wogglesl-review wogglesl-review 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.

Approved by a maintainer on the review board.

Checks

  • ✅ Build linux-x86_64
  • ✅ Build windows-x86_64
  • ❌ dispatch (not required)
  • ✅ changes (not required)
  • ✅ codeql (actions) (not required)
  • ✅ sync (not required)
  • ✅ dispatch (not required)
  • ✅ wiki (not required)
  • ✅ wiki (not required)
  • ✅ changes (not required)
  • ✅ codeql (rust) (not required)
  • ✅ screenshots out of date (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ✅ secrets (not required)
  • ✅ Build flatpak-x86_64 (not required)
  • ✅ typos (not required)
  • ✅ fmt (not required)
  • ✅ clippy (not required)
  • ✅ Release (not required)
  • ✅ test (not required)
  • ✅ cargo-deny (not required)
  • ✅ unsafe (not required)
  • ✅ dependency-review (not required)
  • ✅ workflows (not required)
  • ✅ translations (not required)
  • ✅ flag-lists (not required)
  • ✅ CodeQL (not required)

Change: 1 files, +7 / -2, 1 commit(s) by @R3disme
Merges into: main without conflicts

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot merged commit b07fa26 into main Dec 4, 2026
27 of 28 checks passed
@wogglesl-review

Copy link
Copy Markdown

Squash-merged into main as b07fa26.

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot deleted the queue-merge-race branch December 4, 2026 23:15
@wogglesl-review wogglesl-review Bot removed the In-Review Finished and waiting for a maintainer's review label Dec 4, 2026
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