Publish the Ruby versions each supported Rails series is tested against

The Upgrading guide lists the minimum Ruby for each Rails series, but it is harder to find which newer Rubies are tested for that series. Today that information lives in rails/buildkite-config, with related policy discussed in issue comments:

There is an important distinction between that support rule and required CI coverage. Rails 8.0 and 8.1 have required CI jobs for Ruby 3.2, 3.3, 3.4, and 4.0. For Rails 7.x, Ruby 3.4 and 4.0 jobs are marked as soft-fail. Someone choosing a Ruby version for a Rails app cannot learn that distinction from the maintenance page.

I opened two documentation PRs:

  • rails/website#765 adds the Ruby versions tested in required CI jobs for each currently supported series to the maintenance page.
  • rails/rails#59384 adds a dated snapshot of tested Ruby versions to the Upgrading guide’s Ruby Versions section.

Both distinguish tested versions from upper bounds on compatibility. The website would provide the current list; the versioned guide would provide a snapshot rather than a promise of future coverage.

Two questions:

  1. How is it decided when a newly released Ruby becomes part of a Rails series’ required CI coverage? Does that depend on whether the series is receiving bug fixes or only security fixes?
  2. Should the maintenance page say anything about end-of-life series, or cover supported ones only?
2 Likes