Repository navigation
feat: browse and manage GitHub merge queues on desktop and mobile - #1
Merged
Merged
Conversation
Fails on main: the detail query never reads isInMergeQueue or mergeQueueEntry, so a PR enqueued without an auto-merge request (gh pr merge, GitHub's merge button) looks ready to merge. Reproduces pingdotgg#34075. AI-assisted; verified with the tests and tools listed above. (cherry picked from commit 8fa53f4)
A pull request enqueued by `gh pr merge` or GitHub's merge button has no auto-merge request, and the detail read never asked for merge-queue membership, so T3 Code showed it as ready to merge and offered the merge button. The detail and action replies now read isInMergeQueue and the queue entry. A queued pull request counts as auto-merge armed, so the merge button gives way to a "Queued (#position, state)" badge, and turning it off dequeues it instead of disabling an auto-merge request it does not have. Fixes pingdotgg#34075 AI-assisted; verified with the tests and tools listed above. (cherry picked from commit e6223d5)
(cherry picked from commit c3eb9b8)
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
A queued pull request can still offer “Squash and merge,” and users have to leave the client to see what is ahead of it or which merge-group checks are running.
Change
Show Merge when ready on queue-enabled branches. Show queue position after enqueueing and ask for confirmation before removal. The queue browser lists each project's branch queues, enqueue times, GitHub's estimated merge times, and checks on the merge-group commit. On an unfolded iPhone Duo, the left pane selects a queue and the right pane lists its pull requests.
Scope
This fork feature includes fixes related to pingdotgg#34075 and pingdotgg#36184, alongside the desktop and mobile queue browsers.
Verification