CI: nokogiri Windows precompiled leg fails on main: libiconv download mirror has an expired TLS certificate

Đang mở
#2,268 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
56/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, rust
Lĩnh vực
ci-cd, devtools

Hướng nghiên cứu

Start with the nokogiri patch compatibility workflow and inspect the Windows precompiled job, especially how it fetches or caches libiconv-1.18.tar.gz for the patched gem rebuild. Re-run the failing job to check whether the TLS failure persists; if it does, make the leg use a reliable archive source or cache. Done when the Windows leg passes without skipping the rebuild.

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

Mô tả

agent:triaged ci-janitor priority:p1

[agent] PR shepherd: the nokogiri patch compatibility workflow is red on main at cfc870f5 (run 45714112131, attempt 1). It passed on the previous main commit e98feb78, and the one commit between them (#2252, vex --grype-config) does not touch the gem path.

Failing job: 3.4 / nokogiri 1.18.10 precompiled / windows-latest, step "apply applies it".

Cause (external): the precompiled-gem leg rebuilds the native extension from the patched sources, and nokogiri's extconf.rb downloads libiconv-1.18.tar.gz through mini_portile2. All three download attempts failed TLS verification:

SSL_connect returned=1 errno=0 peeraddr=67.215.246.122:443 state=error: certificate verify failed (certificate has expired)
*** extconf.rb failed ***

so apply reported native_extension_build_failed and exited 1. socket-patch behaved as designed (nothing of the installed gem changed, and the error names what failed).

What to decide:

  • Re-run the job once to see whether the mirror's certificate is fixed or the failure was one bad mirror in the rotation.
  • If it persists, make the leg independent of that mirror: cache or pre-seed ports/archives/libiconv-1.18.tar.gz for the Windows leg, or point the build at a mirror with a valid certificate. Don't drop or skip the leg.

The workflow is not a required check (ci-ok and clippy are), so it doesn't block the merge queue, but it hides real regressions in the precompiled-gem rebuild path while it is red.


Generated by Claude Code

Ngôn ngữ chính
Rust
Star
9
Fork
2
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
313

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.