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 摘要。