Repository navigation
ci(smalruby3): build the gem on ubuntu 26.04 (#1391) - #1537
Merged
Merged
Conversation
….9.130 magnus failed to compile on 26.04 because rb-sys-build 0.9.124 used bindgen 0.69, which emits rb_data_type_struct as an opaque type (oxidize-rb/rb-sys#712). rb-sys 0.9.125+ uses bindgen 0.72. - Cargo.lock: rb-sys / rb-sys-build 0.9.124 -> 0.9.130, bindgen 0.69.5 -> 0.72.1, rustc-hash 1.1.0 -> 2.1.3, magnus 0.8.2 -> 0.8.4, drop lazycell - move ci-ruby unit-test, gem-build-check build-linux, release-gem test/release to ubuntu-26.04 - docs/maintenance/ci-runners.md: drop the 24.04 exception Closes #1391 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🤖 autopilot status
Linked issue #1391. Maintained by autopilot (single writer); do not edit. |
|
🤖 敵対的レビュー(round 1): 指摘 4 件(Must 0 / Question 2 / FYI 2) Question
FYI
直してほしい指摘は Request changes で ID を指定してから |
|
🚀 Preview deployed (stg API): https://preview.smalruby.app/topic-autopilot-1391-cee92f73/ |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
smalruby3 gem のネイティブ拡張(
ruby/smalruby3/ext/smalruby3_imageutil)が ubuntu 26.04 でmagnusのコンパイルに失敗していた件を直し、gem をビルドするジョブをubuntu-26.04に上げる。原因
rb-sys-build0.9.124 がbindgen0.69 を使っており、新しい libclang ではrb_data_type_structが opaque な型(_address: u8だけ)として生成される。そのためrb_data_type_struct__bindgen_ty_1が無く、magnus がE0432/E0560で落ちる(upstream: oxidize-rb/rb-sys#712)。rb-sys0.9.125 以降はbindgen0.72 に上がっていて直っている。Changes Made
Cargo.lock(crates.io-index の値で更新。いずれもリリースから 3 日以上経過)rb-sys/rb-sys-build0.9.124 → 0.9.130(2026-08-21)bindgen0.69.5 → 0.72.1(2025-08-31)、それに伴いrustc-hash1.1.0 → 2.1.3(2026-07-02)、lazycellを削除magnus0.8.2 → 0.8.4(2026-10-16・バグ修正のみ)runs-onをubuntu-26.04に:ci-ruby.ymlのunit-test、gem-build-check.ymlのbuild-linux、release-gem.ymlのtest/releasedocs/maintenance/ci-runners.mdの例外の記述を削除Test Coverage / 確認
CI - Ruby(ruby/**の変更で走る)が 26.04 × Ruby 3.3 / 3.4 / 4.0 でrake compile+rake testを通ることを確認する。gem-build-check.ymlはworkflow_dispatchのみなので、このブランチで人間が起動して確認が必要(Bot は workflow_dispatch を起動できない)。Related Issues
Closes #1391
🤖 Generated with Claude Code