Modernize supported Ruby CI versions - #426
Merged
Merged
Conversation
Co-authored-by: AI (Pi/GPT-5.6 Luna) <noreply@pi.dev> Assisted-By: devx/a14ba2d6-40ac-4f2e-96da-16e215c96b8e
Co-authored-by: AI (Pi/GPT-5.6 Luna) <noreply@pi.dev> Assisted-By: devx/a14ba2d6-40ac-4f2e-96da-16e215c96b8e
pedro-stanaka
marked this pull request as ready for review
August 18, 2026 09:08
fpetkovski
approved these changes
Aug 18, 2026
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.
Why
The CI matrix still includes Ruby 2.7, which has been EOL for a long time, while omitting Ruby 3.4 and using stale JRuby/TruffleRuby versions. The JRuby job also fails on an allocation-counting test because JRuby does not support
GC.stat(:total_allocated_objects).This is a standalone CI maintenance PR so feature PRs do not need to carry runtime-specific workarounds.
What changed
9.4.9.0to10.1.1.0.25.0.0to34.0.1.test_cache_key_computation_does_not_allocateon JRuby, preserving the allocation test on CRuby and other runtimes.Validation
bundle exec ruby -Itest test/compiled_metric_test.rbbundle exec rake test— 376 runs, 1,061 assertions, 0 failures/errorsbundle exec rubocop test/compiled_metric_test.rbThis is intended to unblock and clean up statsd-instrument PR #423, which can drop its temporary JRuby skip commit and rebase after this PR lands.