You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
claim bot: a queued PR event that runs after the merge reports a false conflict on the merged PR #36
The PR claim check decides from the event payload whether the PR is open, but it reads the referenced issues live. When a pull_request event is still queued when the PR merges, the run sees the PR as open and the issue the merge just closed. It then reports a false conflict on the merged PR: it adds claim-conflict, posts the conflict comment and fails the check.
About 12:38: the run reported obs-rust/.github#34 is closed (including duplicates); reference the open issue instead, labelled the merged PR and posted the comment. (Cleaned up by hand: label removed, comment hidden as outdated.)
The same race can happen in every repo that calls the claim bot, for example on obs-studio PRs that merge through the queue while an edit or push event is still waiting for a runner.
Expected
The check reads the PR's live state before it decides. When the PR is no longer open (merged or closed), it writes nothing and passes.
Fix
on_pull_request (workflow/claim_bot.py) already reads the PR's issue object (current = gh.issue(repo, number)). Return before checking conflicts when current is closed.
RED: a test where the event payload says open but the live PR is closed, and the issue it references is closed; it expects no write and a passing check.
GREEN: on_pull_request reads the live PR state first and returns when it is not open.
Activity
vpacher commentedon Nov 25, 2026
Claiming: #36
Plan (one PR):
on_pull_requestreads the live PR state first and returns when it is not open.PR expected today.