Skip to content

ci: run GC.stress tests only on ubuntu-latest and latest ruby - #678

Merged
saulecabrera merged 1 commit into
mainfrom
ci/limit-gc-stress
Oct 27, 2026
Merged

saulecabrera merged 1 commit into
mainfrom
ci/limit-gc-stress

Conversation

@saulecabrera

@saulecabrera saulecabrera commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Running the full test suite under GC.stress across 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:

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
@saulecabrera
saulecabrera enabled auto-merge (squash) October 27, 2026 19:02
@saulecabrera
saulecabrera merged commit 1b796fe into main Oct 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants