Can't merge the stack: either stuck while merging via GitHub UI, or getting false-negative error via CLI
還沒有人認領這個 Issue。
評估
研究方向
使用 issue 中描述的 stack 和核准狀態,透過 gh stack merge 37498 --yes --squash 重現,然後追蹤 merge 命令的受保護分支檢查。沒有指定檔案或測試;完成表示當 merge base 未變更時,CLI 和 GitHub UI 不再阻擋此 stack,同時仍遵守真正的重新核准要求。
由索引模型根據 Issue 內容生成。
描述
See the stack up to https://github.com/react/react/pull/37498. All PRs were approved.
When I've attempted to merge it via UI, the merging was just stuck and never finished.
When attempted to merge via CLI, always received this error:
gh stack merge 37498 --yes --squash
Merging #37503, #37500, #37498 into main via squash...
✗ merge failed: protected branch 'main' check failed:
Waiting on 1 reapproval from someone other than the last pusher. Review from eps1lon is stale because it was submitted before the merge base changed.
Stack merges are atomic, so nothing was merged
This is incorrect, because merge based didn't change after the approval.
I was able to merge the bottom PR of the stack, but this extremely painful, because after that the base actually changes, and now I need to get re-approval from the reviewers. Please, could you finally fix the stacks?
- 主要語言
- Go
- 星號
- 1.5k
- 分支
- 73
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/gh-stack 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
-
難度 1/5 1 小時以內 新手友好度 92/100
-
feature request topic: cli - general
難度 2/5 1-3 小時 新手友好度 68/100
-
feature request topic: auto-merge
難度 2/5 1-3 小時 新手友好度 68/100
-
bug topic: docs
難度 1/5 1 小時以內 新手友好度 68/100
相似的 Issue
-
agentic-workflows
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
priority/4/normal status/needs-triage type/bug/unconfirmed
難度 2/5 1-3 小時 新手友好度 78/100
authelia/authelia#13292 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
blinklabs-io/actions#138 ·
維護者通常 1 天內回覆
-
[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpoint未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆