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

未關閉
#2,268 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
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 小時
30 天內合併 PR
313

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

SocketDev/socket-patch 的其他 Issue

查看 SocketDev/socket-patch 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。