Skip to content

Require Ruby 3.2 and Rails 7.2 (oldest current supported versions) - #6412

Closed
AlistairNorman wants to merge 2 commits into
solidusio:mainfrom
SuperGoodSoft:remove-old-versions
Closed

Require Ruby 3.2 and Rails 7.2 (oldest current supported versions)#6412
AlistairNorman wants to merge 2 commits into
solidusio:mainfrom
SuperGoodSoft:remove-old-versions

Conversation

@AlistairNorman

Copy link
Copy Markdown
Contributor

Summary

Rails 7.0 and 7.1 are out of support along with Ruby 3.1 so we don't need to be testing them. This will speed up CI a bit.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

Rails 7.0 and 7.1 are out of support along with Ruby 3.1.

Co-Authored-By: Jared Norman <jared@super.gd>
Co-Authored-By: Chris Todorov <chris@super.gd>
Co-Authored-By: Noah Silvera <noah@super.gd>
Co-Authored-By: Sofia Besenski <sofia@super.gd>
@AlistairNorman
AlistairNorman requested a review from a team as a code owner January 29, 2026 19:07
@github-actions github-actions Bot added the changelog:repository Changes to the repository not within any gem label Jan 29, 2026
@codecov

codecov Bot commented Jan 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.50%. Comparing base (76f15d2) to head (2236a37).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6412   +/-   ##
=======================================
  Coverage   89.50%   89.50%           
=======================================
  Files         981      981           
  Lines       20479    20479           
=======================================
  Hits        18329    18329           
  Misses       2150     2150           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot added changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem changelog:solidus_sample Changes to the solidus_sample gem changelog:solidus Changes to the solidus meta-gem changelog:solidus_admin changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem changelog:solidus_promotions Changes to the solidus_promotions gem and removed changelog:repository Changes to the repository not within any gem labels Jan 29, 2026
The Solidus policy is for minor releases to support only up to the
oldest maintained version of Ruby and Rails.

Co-Authored-By: Jared Norman <jared@super.gd>
Co-Authored-By: Chris Todorov <chris@super.gd>
Co-Authored-By: Noah Silvera <noah@super.gd>
Co-Authored-By: Sofia Besenski <sofia@super.gd>

@tvdeyen tvdeyen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate this, but let's split this up into two PRs for better discoverability in the changelog. Or rename the PR and just tell the truth. We should a least have two PRs for Rails and Ruby.

end + ["app/assets/builds/solidus_admin/tailwind.css"]

s.required_ruby_version = '>= 3.1.0'
s.required_ruby_version = '>= 3.2.0'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From your PR title you just removed it from CI, but you also prevent running solidus on older Rubies with this change. Although I like the progressive nature of this, I think we should stop testing in one PR and then on another PR raise the minimum version. That way it will appear in the Changelog. A single commit in a PR does not end up on the Changleog.

@AlistairNorman AlistairNorman Jan 30, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good callout on the title. I think this belongs as one PR because we only want to remove versions from CI when we stop supporting them. That being said, you're right that the important thing to go in the changelog is that we changed the required version.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this belongs as one PR because we only want to remove versions from CI when we stop supporting them

Stop supporting the Ruby version is the same as not testing it anymore. But also raising the minimum version means it cannot be used at all anymore, what is not the same as stop supporting (aka fixing issues) it.

But I am fine with doing the Ruby version bump in the same PR as the CI change, but I still want us to split out the Rails change from this PR for visibility in the changelog.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the distinctions. Can you explain why two pull requests are more visible than one?

@AlistairNorman AlistairNorman changed the title Remove old Ruby and Rails from CI Require Ruby 3.2 and Rails 7.2 (oldest current supported versions) Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_admin changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem changelog:solidus_legacy_promotions Changes to the solidus_legacy_promotions gem changelog:solidus_promotions Changes to the solidus_promotions gem changelog:solidus_sample Changes to the solidus_sample gem changelog:solidus Changes to the solidus meta-gem

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants