gh stack modify --continue hides subsequent rebase conflict details
まだ誰も着手していません。
評価
調査の方向性
gh stack modify --continue の競合リカバリーパスから始め、gh stack modify の初回の競合報告と比較します。issue に記載された複数競合のシーケンスを、最初の解決結果を staging するところまで含めて再現し、その後の競合で、終了ステータスだけでなく、ブランチ、競合しているファイル、進捗、および解決・stage・continue の手順が表示されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Description
When gh stack modify --continue advances an in-progress rebase and encounters another conflict, it prints only:
✗ rebase continue failed — resolve remaining conflicts and try again: exit status 1
It does not show:
- Which branch is being rebased
- Which files conflict
- Rebase progress
- The usual resolve/stage/continue instructions
The initial gh stack modify conflict reports this information correctly. Subsequent conflicts reached through --continue do not.
Reproduction
-
Create a stack where dropping or moving a lower branch causes conflicts in multiple downstream commits.
-
Run
gh stack modify. -
Apply the structural change.
-
Resolve the first conflict.
-
Stage the resolved file:
git add <file> -
Continue:
gh stack modify --continue -
Let the rebase encounter another conflict.
Actual result
Only the generic exit-status message appears:
✗ rebase continue failed — resolve remaining conflicts and try again: exit status 1
The user must separately run:
git status
git diff --name-only --diff-filter=U
to discover that another conflict appeared and identify its files.
Expected result
gh stack modify --continue should report the next conflict like the initial modify operation:
Conflict rebasing <branch>
Conflicted files:
<file>
Resolve the conflicts, stage with `git add <file>`, then run
`gh stack modify --continue`.
Progress for successfully completed branches or commits should also remain visible.
Environment
gh2.97.0gh-stack0.1.0- macOS 26.6
Additional context
This appears distinct from #146. No merged or pruned branch lookup is involved at this stage; the modify operation is already in conflict recovery and --continue reaches another conflicting commit.
- 主要言語
- Go
- スター
- 1.5k
- フォーク
- 73
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
github/gh-stack の issue をすべて見る
似ている issue
-
textual definition
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
geneontology/go-ontology#32653 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
needs design
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100