Repository navigation
ci(ruby): test on Ruby 3.3+ only - #1370
Merged
Merged
Conversation
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>
|
😎 Merged successfully via direct-to-queue (branch protection was bypassed for this merge) - details. |
TylerJang27
requested review from
acatxnamedvirtue,
dfrankland and
max-trunk
November 19, 2026 15:23
Collaborator
Author
|
/trunk merge --direct |
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.
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_rubypins Ruby3.3instead of3.1. That action runs the PRbuildjob inruby.yml(gem tests) and the Trunk Check runner build.test-ruby-gemmatrix inrelease_ruby_gem.ymlruns 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