Skip to content

feat(web): pull requests set to merge when ready show GitHub's merge queue icon - #246

Merged
badcuban merged 3 commits into
mainfrom
threadlines/show-merge-queue-icon
Sep 6, 2026
Merged

feat(web): pull requests set to merge when ready show GitHub's merge queue icon#246
badcuban merged 3 commits into
mainfrom
threadlines/show-merge-queue-icon

Conversation

@badcuban

@badcuban badcuban commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

An open pull request that GitHub is landing on its own looked like any other open one. The PR state glyph in the sidebar, the command palette, the Pull Requests page rows, the PR tabs and the PR header only knew open, draft, merged and closed, and the git status read that feeds the sidebar badge never asked GitHub for the auto-merge flag.

The GitHub CLI reads now request autoMergeRequest alongside the branch's pull request, and the flag travels through the source-control change request and the VCS status contract to the client. The shared badge tone table gains an armed variant that draws GitHub's own merge queue glyph (Primer Octicons, MIT) in amber, and every surface that draws the state glyph reads it. The PR header also arms it from the queue position, since a queued pull request need not carry the standing instruction any more.

…queue icon

An open pull request that the host is landing on its own looked like any
other open one: the PR state glyph in the sidebar, the command palette, the
Pull Requests page rows, the PR tabs and the PR header only knew open, draft,
merged and closed. The git status read that feeds the sidebar badge never
asked GitHub for the auto-merge flag at all.

The GitHub CLI reads now request `autoMergeRequest` alongside the branch's
pull request, and the flag travels through the source-control change request
and the VCS status contract to the client. The shared badge tone table gains
an armed variant that draws GitHub's own merge queue glyph (Primer Octicons,
MIT) in amber, and every surface that draws the state glyph reads it: the
PR header also arms it from the queue position, since a queued pull request
need not carry the standing instruction any more.
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadlines Ready Ready Preview Sep 6, 2026 8:43am UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 6, 2026
@badcuban
badcuban enabled auto-merge September 6, 2026 08:31
Main gained a pull request row above the composer and a hover card on pull
request links (#244) after this branch forked. Its test fixture built a
thread pull request without the new auto-merge field, which failed the
typecheck on the merge result.

Both new surfaces draw the state glyph from the shared tone table, so they
now carry the armed flag as well: the composer row and the hover card read
it from the detail once it lands (a queue position counts), and from the
thread's own resolution before that. The "armed or queued" rule the PR
header used inline is now one helper the three of them share.
@badcuban
badcuban added this pull request to the merge queue Sep 6, 2026
Merged via the queue into main with commit 8b0c55f Sep 6, 2026
16 checks passed
@badcuban
badcuban deleted the threadlines/show-merge-queue-icon branch September 6, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant