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

オープン
#2,268 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, rust
領域
ci-cd, devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Rust
スター
9
フォーク
2
平均マージ
1日 8時間
マージ済み PR(30日)
313

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SocketDev/socket-patch のほかの issue

SocketDev/socket-patch の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。