github / github/gh-stack

Stack merge hangs after partial merge invalidates latest-push approval

Đang mở
#174 9 bình luận 22 reaction 0 người được giao Xem trên GitHub
bug topic: merge
Ngôn ngữ chính
Go
Star
1.5k
Fork
70
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
7

Mô tả

## 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, go
Lĩnh vực
cli, devtools
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.