github / github/gh-stack

Keep on getting `invalid changes in the merge commit`

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

描述

In github.com/lemonade-sdk/lemonade we use squash merging and also use a merge queue. In experimenting with stacks we keep running into this situation:

Image

Pretty much we queue up the entire stack, one layer merges and the rest are pulled. So then we have to monitor the next layer, requeue all of them etc.

The entire stack that showed this problem is here:
https://github.com/lemonade-sdk/lemonade/pull/3584

You can see the earlier layers how many times they got pulled out of the merge queue because of "invalid changes in the merge commit".

貢獻指南

開啟貢獻指南

研究方向

首先重現連結的 lemonade pull request 中所描述的堆疊 PR 情境,並檢查 gh-stack 如何與 GitHub 的 merge queue 互動。完成條件是:佇列中的 stack 在其中一層合併後可以繼續推進,而後續層不會因為 "invalid changes in the merge commit" 而被反覆移除。

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

評估

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

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

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