Repository navigation
ci: run GC.stress tests only on ubuntu-latest and latest ruby - #678
Merged
Merged
Conversation
Running the full test suite under `GC.stress` across all 9 matrix targets adds significant overhead to CI (15–35+) while providing redundant coverage. Other major Ruby native extensions follow this same approach: - `ffi`: only runs GC stress tests on Ubuntu on the default branch, rather than the full multi-OS matrix: - `bluejay-rb`: excludes Windows entirely from its matrix: https://github.com/Shopify/bluejay-rb/blob/main/.github/workflows/ci.yml - CRuby: limits full-suite GC stress testing to dedicated Linux jobs rather than standard PR CI: https://github.com/ruby/ruby/blob/master/.github/workflows/modgc.yml
jeffcharles
approved these changes
Oct 27, 2026
saulecabrera
enabled auto-merge (squash)
October 27, 2026 19:02
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.
Running the full test suite under
GC.stressacross all 9 matrix targets adds significant overhead to CI (15–35+ minutes) while providing redundant coverage.Other major Ruby native extensions follow this same approach:
ffi: only runs GC stress tests on Ubuntu on the default branch, rather than the full multi-OS matrix:bluejay-rb: excludes Windows entirely from its matrix: https://github.com/Shopify/bluejay-rb/blob/main/.github/workflows/ci.ymlCRuby: limits full-suite GC stress testing to dedicated Linux jobs rather than standard PR CI: https://github.com/ruby/ruby/blob/master/.github/workflows/modgc.yml