gh stack modify --continue hides subsequent rebase conflict details
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Bắt đầu từ luồng khôi phục xung đột của gh stack modify --continue và so sánh với phần báo cáo xung đột ban đầu của gh stack modify. Tái hiện chuỗi nhiều xung đột được mô tả trong issue, bao gồm cả việc staging bản sửa lỗi đầu tiên, sau đó xác minh rằng xung đột tiếp theo hiển thị branch, các tệp bị xung đột, tiến độ và hướng dẫn giải quyết, stage và tiếp tục, thay vì chỉ hiển thị trạng thái thoát.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 1.5k
- Fork
- 73
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 7
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/gh-stack
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
feature request topic: cli - general
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
feature request topic: auto-merge
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
bug topic: docs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Tất cả issue của github/gh-stack
Issue tương tự
-
textual definition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
geneontology/go-ontology#32653 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
needs design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100