Nightly gem e2e red on bundler 1.17/2.1: CRLF source-block rollback unattributable

Đang mở
#1,997 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

@mikolalysenko đang làm issue này rồi.

Từ ngày 3/11/2026.

  • #1999 của @mikolalysenko — đang mở

Đánh giá

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

Hướng nghiên cứu

Start with crates/socket-patch-core/src/vex/discover/gem.rs and the crlf-gemfile-source-block arm at e2e_redirect_gem_build.rs:4852; compare the failing Bundler 1.17 and 2.1 behavior with the passing Bundler 4 CI leg. The goal is to attribute a gem in a nested source … do block in a merged pre-2.2 lock so rollback succeeds, or establish the test-only era floor described in the issue.

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

Mô tả

ci-janitor

The nightly CI schedule run on main is red on two e2e-extended gem legs, and nothing open is fixing it.

Evidence

  • Run 41585451732 (schedule, 2026-11-03 05:42 UTC, head 3eb2ec1):
    • e2e-extended (ubuntu-latest, e2e_redirect_gem_build e2e_vendor_gem_build, 3.1, 2.1.4), job 125750207261
    • e2e-extended (ubuntu-latest, e2e_redirect_gem_build e2e_vendor_gem_build, 3.1, 1.17.3), job 125750207277
  • Both fail only in gem_hosted_redirect_keeps_a_crlf_gemfile_crlf, in the crlf-gemfile-source-block arm (e2e_redirect_gem_build.rs:4852). Rollback exits 1 with hosted_wiring_contested / patched_ref_unattributable: "GEM section lists 2 remotes (a merged multi-source lock), and no gem in it is source-pinned to Socket patch … by both DEPENDENCIES (!) and a Gemfile source … do block".
  • The failure is deterministic. The arm was added in #1961, and PR CI runs only the bundler 4.0.21 leg, so only the nightly hits it.
  • The other red leg in that run, test (windows-latest, 1) (hosted_scan_without_a_python_lock_warns_no_lockfile), is fixed on main by #1994.

Status

#1995 added the same bundler >= 2.2 floor that gem_hosted_unwind_keeps_a_source_block_bang has. It was closed unmerged on 2026-11-03 15:06 UTC with no comment, so the CI janitor treats that approach as rejected and isn't retrying it. There are two ways forward:

  1. Product fix: teach the Gemfile attribution reader (crates/socket-patch-core/src/vex/discover/gem.rs) to attribute a gem inside a nested source … do block on a merged pre-2.2 lock, so rollback works on bundler 1.17/2.1.
  2. Reopen #1995 (test-only era floor).

Until one of them lands, the nightly stays red on these two legs.


Generated by Claude Code

Ngôn ngữ chính
Rust
Star
9
Fork
2
Merge trung bình
20 giờ 20 phút
Pull request đã merge (30 ngày)
659

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

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 SocketDev/socket-patch

Tất cả issue của SocketDev/socket-patch

Issue tương tự

Thêm issue về Rust

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.