Check the combined merge result before enqueueing several PRs

Đang mở
#7,872 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, shell, typescript
Lĩnh vực
ci-cd, tooling

Hướng nghiên cứu

The issue proposes a new script, scripts/check_combined_merge.sh, that merges origin/main with each PR head in order inside a temporary git worktree. Check how the repo's existing scripts and the make typecheck target are set up before writing it, and settle which tests to run for touched files. Done means the script runs on a set of PRs, reports the first failing combination, and is documented. Confirm the design with a maintainer first, since the issue is a proposal.

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

Mô tả

git merge-tree proves only that the text merges. In the Cursor plugin landing, every layer and the combined tree merged cleanly, yet the merge queue dropped #7834: #7835 (queued in the same batch) removed a type field that #7834's tests used, and the merge-group typecheck failed.

Proposed mechanism: a script such as scripts/check_combined_merge.sh <pr...> that merges origin/main with each PR head in order in a temporary worktree, then runs make typecheck and the touched tests. Agents run it before gh stack merge or a batch of gh pr merge.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Ngôn ngữ chính
TypeScript
Star
2.1k
Fork
139
Merge trung bình
4 giờ 38 phút
Pull request đã merge (30 ngày)
926

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/xum

Tất cả issue của coder/xum

Issue tương tự

Thêm issue về TypeScript

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.