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.

贡献指南

打开贡献指南

调研方向

Start by reproducing the stacked merge through PR B with merge queue and most-recent-push approval enabled, then trace the merge-queue and merge-dialog flow after PR B's approval is invalidated. Done means the operation either merges both PRs or stops cleanly before either merge, without leaving the dialog spinning.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, go
领域
cli, devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。