Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

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

未關閉
#385 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
github, go
領域
cli

研究方向

重現 branch2 位於合併佇列中時建立 branch3 的序列,接著執行 gh stack unstack 並為 branch4 建立一個 PR。檢查 stack 和 PR 建立流程,以判定為什麼它會回報每個 PR 都已合併,儘管最終的 UI 看起來是正確的。完成的標準是,該序列不再產生不準確的已合併 stack 警告,也不會留下不一致的 stack 狀態。

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Go
星號
1.5k
分支
73
平均合併
1 天 8 小時
30 天內合併 PR
7

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/gh-stack 的其他 Issue

查看 github/gh-stack 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。