Skip to content

ci(ruby): pin the gem's Ruby 3.1 build to ubuntu-24.04 - #1300

Merged
trunk-io[bot] merged 1 commit into
mainfrom
tylerbeebe/pin-ubuntu-24-04-for-the-ruby-gem
Nov 9, 2026
Merged

trunk-io[bot] merged 1 commit into
mainfrom
tylerbeebe/pin-ubuntu-24-04-for-the-ruby-gem

Conversation

@acatxnamedvirtue

Copy link
Copy Markdown
Contributor

GitHub moved ubuntu-latest from 24.04 to 26.04. The new image's libclang-dev is clang 21, and with it rb-sys 0.9.124's bindgen emits opaque structs (_address) for Ruby 3.1's headers, so magnus 0.8.2 fails to compile:

error[E0432]: unresolved import `rb_sys::rb_data_type_struct__bindgen_ty_1`
error[E0609]: no field `fd` on type `rb_io_t` … available field is: `_address`

This pins that one job to ubuntu-24.04. Upgrading rb-sys/magnus and moving back to ubuntu-latest is TRUNK-23633, for 1.0.0.

Part of TRUNK-23633

🤖 Generated with Claude Code

ubuntu-latest moved to 26.04, whose libclang 21 makes rb-sys 0.9.124's
bindgen emit opaque structs for Ruby 3.1's headers, so magnus 0.8.2
fails to compile. Pin the build job to ubuntu-24.04 until the rb-sys and
magnus upgrade (TRUNK-23633).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trunk-io

trunk-io Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

😎 Merged successfully - details.

@acatxnamedvirtue

Copy link
Copy Markdown
Contributor Author

/trunk merge

@trunk-io
trunk-io Bot merged commit e6c6767 into main Nov 9, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants