Hello! Are there already reports of people's PRs g...
# report-bugs
r
Hello! Are there already reports of people's PRs getting kicked from the merge queue "due to unexpected error"? There are multiple members of my team whose PRs are unable to merge, and it looks like the CI that usually runs is not running either when we attempt to merge.
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
r
Repro steps: 1. Put up a PR / stack of PRs that passes CI. Get it approved / make sure it passes all required checks. 2. Add the PR to the merge queue by pressing the Merge button at the top right. We are not using “Merge when ready”, so I am unsure if it happens with this too. Actual results: The PR goes onto the merge queue for less than a minute. It is then removed from the merge queue without triggering our CI. The error at the top of the PR reads “This pull request was removed from the merge queue due to unexpected error”. In my case, graphite-app commented this on my PR:
Copy code
Merge activity
Jun 3, 11:39 PM UTC: rynatmanagexr added this pull request to the Graphite merge queue.
Jun 3, 11:41 PM UTC: The Graphite merge queue couldn't merge this PR because it failed for an unknown reason.
Jun 4, 12:01 AM UTC: rynatmanagexr added this pull request to the Graphite merge queue.
Jun 4, 12:02 AM UTC: The Graphite merge queue couldn't merge this PR because it failed for an unknown reason.
Jun 4, 9:03 PM UTC: rynatmanagexr added this pull request to the Graphite merge queue.
Jun 4, 9:04 PM UTC: The Graphite merge queue couldn't merge this PR because it failed for an unknown reason.
Jun 4, 9:17 PM UTC: rynatmanagexr added this pull request to the Graphite merge queue.
Jun 4, 9:18 PM UTC: The Graphite merge queue couldn't merge this PR because it failed for an unknown reason.
This is not happening on all of our repositories. On the one repository that was affected, all PRs started failing like this starting at 12:01PM PST yesterday (June 3rd). Do you have any insight into how we can fix this?
p
Hi can you double check branch protection rules for that repository? Looking at the error logging it seems you need to allow Graphite to bypass the rules in that repo