Skip to content

ci(ruby): test on Ruby 3.3+ only - #1370

Merged
trunk-sudo[bot] merged 1 commit into
mainfrom
tyler/ci-ruby-3.3
Nov 19, 2026
Merged

trunk-sudo[bot] merged 1 commit into
mainfrom
tyler/ci-ruby-3.3

Conversation

@TylerJang27

Copy link
Copy Markdown
Collaborator

Ruby 3.1 and 3.2 are end of life and will not get a fix for GHSA-34m4-m9fh-gqp5 (Ruby2Shell). This moves CI off them:

  • .github/actions/setup_ruby pins Ruby 3.3 instead of 3.1. That action runs the PR build job in ruby.yml (gem tests) and the Trunk Check runner build.
  • The test-ruby-gem matrix in release_ruby_gem.yml runs 3.3, 3.4 and 4.0 only.

Not changed: the cross-gem build still compiles binaries for 3.1–4.0, and the gemspec keeps required_ruby_version >= 3.1. Customers on 3.1 and 3.2 still get prebuilt binaries, but CI no longer tests them.

The gem itself needs no change for the advisory. The published 1.0.0 binaries leave every rb_* function for the host Ruby to supply and contain no copy of its string or encoding code, so a customer fixes it by upgrading Ruby.

🤖 Generated with Claude Code

Ruby 3.1 and 3.2 are end of life and get no fix for GHSA-34m4-m9fh-gqp5
(Ruby2Shell). Run the dev build and gem tests on 3.3, and drop 3.1 and
3.2 from the release test matrix. The released gem still builds for
3.1+ and keeps required_ruby_version >= 3.1.

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

trunk-io Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

😎 Merged successfully via direct-to-queue (branch protection was bypassed for this merge) - details.

@TylerJang27

Copy link
Copy Markdown
Collaborator Author

/trunk merge --direct

@trunk-sudo
trunk-sudo Bot merged commit f46650e into main Nov 19, 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.

1 participant