github / github/gh-stack

rebase: merging indirectly via combined branch does not rebase higher prs

オープン
#407 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る
bug topic: post-merge rebase
主要言語
Go
スター
1.5k
フォーク
70
平均マージ
1日 8時間
マージ済み PR(30日)
7

説明

BUG:

We create release branches that combine many PRs/branches into a single PR. When that PR is merged to the root the original PRs are closed as merged, BUT any stacked PRs do not rebase onto the root.

Repro:

1. Create three PRs A and B and C, with B stacked on A.
2. Create a third PR, D, which combines branches A and C.
3. Merge D onto master.
4. Observe that B is still stacked on A, and if branch A is deleted, PR B is auto closed.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ファイル、テスト、エントリポイントのいずれも指定されていません。A/B/C のシナリオと、組み合わせた D のシナリオを再現し、その後、マージ済みの pull requests と stacked-branch rebases の処理を追跡してください。D のマージ後に B が master に対して rebased され、A が削除されても自動的にクローズされなければ、修正完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, github, go
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。