github / github/gh-stack

Stack merge hangs after partial merge invalidates latest-push approval

未關閉
#174 9 則留言 22 個 reaction 已指派 0 人 在 GitHub 檢視
bug topic: merge
主要語言
Go
星號
1.5k
分支
70
平均合併
1 天 8 小時
30 天內合併 PR
7

描述

## Reproduction

1. Create `main <- PR A <- PR B`.
2. Enable merge queue and "Require approval of the most recent reviewable push."
3. Approve both PRs after their latest pushes.
4. Merge the stack from PR B.

## Expected

Both PRs merge, or the operation stops before either merges.

## Actual

PR A merges. GitHub rebases PR B, invalidating its approval. PR B is not queued, and the merge dialog spins indefinitely.

貢獻指南

開啟貢獻指南

研究方向

先在啟用 merge queue 和 most-recent-push approval 的情況下重現直到 PR B 的 stacked merge,然後追蹤 PR B 的 approval 失效後的 merge-queue 和 merge-dialog 流程。完成的標準是:該操作要麼合併兩個 PR,要麼在任何一個 merge 之前乾淨地停止,且不會讓對話框一直處於載入狀態。

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

評估

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

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

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