Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Getting Every PR in this stack has already been merged, when there is a PR already

Open
#385 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github, go
Domain
cli

Research direction

Reproduce the sequence where branch3 is created while branch2 is in the merge queue, then run gh stack unstack and create a PR for branch4. Inspect the stack and PR creation flow to determine why it reports every PR as merged despite the resulting UI appearing correct. Done means the sequence no longer produces an inaccurate merged-stack warning or leaves the stack state inconsistent.

Written by the indexing model from the issue text.

Description

bug topic: merge queue

So I had branch 1 and branch 2 that created normally, and then branch3 was created while branch2 was in merge queue.

Then the git diff went weird but I fixed the merge conflicts, and thought maybe I'd try to gh stack unstack, but it didn't allow me because it was still part of the stack. Oh well, I continued on and tried making a PR for branch4 and got this.

⚠ Every PR in this stack has already been merged on GitHub
Adding to a fully merged stack isn't supported — starting a new stack for your 2 unmerged branches based on master
Pushing to origin...
PR #52141 for branch3
✓ Created PR #52148 for branch4
✓ Stack created on GitHub with 2 PRs (stack #52149)
✓ Pushed and synced 2 branches

Everything looks good on the UI though

Dominant language
Go
Stars
1.5k
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-stack

All issues in github/gh-stack

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.