build: bump tested Rails versions to 7.1.6, 7.2.3.2, 8.0.5.1, 8.1.3.1 - #175
Merged
Conversation
Drop the EOL 6.0, 6.1, and 7.0 lines and add Rails 8.0/8.1 coverage, regenerating the Appraisal gemfiles and locks accordingly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the gem’s Appraisal/CI Rails + ActiveRecord test matrix to drop EOL Rails lines and add coverage for Rails 7.2 and Rails 8.0/8.1, with regenerated appraisal gemfiles/lockfiles to match.
Changes:
- Bumped Appraisal definitions and regenerated
gemfiles/for Rails/ActiveRecord 7.1.6, 7.2.3.2, 8.0.5.1, and 8.1.3.1 (removing the old 6.0/6.1/7.0 gemfiles). - Updated GitHub Actions workflow matrix to run against the new appraisal gemfile names.
- Updated README to reflect the new tested Rails range and example appraisal command.
Reviewed changes
Copilot reviewed 11 out of 23 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates documented tested Rails range and appraisal example. |
| Appraisals | Replaces old Rails/AR appraisal blocks with 7.1.6/7.2.3.2/8.0.5.1/8.1.3.1. |
| .github/workflows/build.yml | Updates CI gemfile matrix entries to the new appraisal names. |
| gemfiles/rails7.1.6.gemfile | Pins Rails 7.1.6 for the Rails integration appraisal. |
| gemfiles/rails7.1.6.gemfile.lock | Lockfile for Rails 7.1.6 appraisal. |
| gemfiles/rails7.2.3.2.gemfile | Pins Rails 7.2.3.2 for the Rails integration appraisal. |
| gemfiles/rails7.2.3.2.gemfile.lock | Lockfile for Rails 7.2.3.2 appraisal. |
| gemfiles/rails8.0.5.1.gemfile | Pins Rails 8.0.5.1 for the Rails integration appraisal. |
| gemfiles/rails8.0.5.1.gemfile.lock | Lockfile for Rails 8.0.5.1 appraisal. |
| gemfiles/rails8.1.3.1.gemfile | Pins Rails 8.1.3.1 for the Rails integration appraisal. |
| gemfiles/rails8.1.3.1.gemfile.lock | Lockfile for Rails 8.1.3.1 appraisal. |
| gemfiles/active7.1.6.gemfile | Pins ActiveRecord/ActiveSupport 7.1.6 for the AR-only appraisal. |
| gemfiles/active7.1.6.gemfile.lock | Lockfile for AR-only 7.1.6 appraisal. |
| gemfiles/active7.2.3.2.gemfile | Pins ActiveRecord/ActiveSupport 7.2.3.2 for the AR-only appraisal. |
| gemfiles/active7.2.3.2.gemfile.lock | Lockfile for AR-only 7.2.3.2 appraisal. |
| gemfiles/active8.0.5.1.gemfile | Pins ActiveRecord/ActiveSupport 8.0.5.1 for the AR-only appraisal. |
| gemfiles/active8.0.5.1.gemfile.lock | Lockfile for AR-only 8.0.5.1 appraisal. |
| gemfiles/active8.1.3.1.gemfile | Pins ActiveRecord/ActiveSupport 8.1.3.1 for the AR-only appraisal. |
| gemfiles/active8.1.3.1.gemfile.lock | Lockfile for AR-only 8.1.3.1 appraisal. |
| gemfiles/rails7.0.8.gemfile.lock | Removes old Rails 7.0.8 lockfile. |
| gemfiles/rails6.1.7.6.gemfile.lock | Removes old Rails 6.1.7.6 lockfile. |
| gemfiles/rails6.0.6.gemfile.lock | Removes old Rails 6.0.6 lockfile. |
| gemfiles/active6.0.6.gemfile.lock | Removes old AR-only 6.0.6 lockfile. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 23 changed files in this pull request and generated no new comments.
Suppressed comments (1)
README.md:13
- This sentence implies Rails 8.0/8.1 are tested on Ruby 3.1, but the CI matrix excludes Ruby 3.1 for the Rails 8 appraisals (and Rails 8.x requires Ruby >= 3.2). Consider clarifying the Ruby requirement for the Rails 8 lines to avoid misleading readers.
For Rails / ActiveRecord integration, this repository is currently tested against ActiveRecord and Rails 7.1 through 8.1 on Ruby 3.1 through 4.0.
…y 3.2 Rails 8.0/8.1 require Ruby >= 3.2. Also re-resolve the Rails 8 lockfiles under Ruby 3.2 instead of 3.4 so they don't pin rdoc/rbs versions that require a newer Ruby than the matrix's minimum supported version. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
eitoball
force-pushed
the
bump-rails-test-versions
branch
from
September 5, 2026 08:18
32445e5 to
994b77b
Compare
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.
What
Update the CI/appraisal Rails test matrix from
6.0.6/6.1.7.6/7.0.8/7.1.3to7.1.6/7.2.3.2/8.0.5.1/8.1.3.1.Why
The previously tested Rails lines (6.0, 6.1, 7.0) are EOL, and Rails 8.0/8.1 were not covered at all. This shifts the tested window to the latest patch releases of 7.1, adds 7.2, and adds both current Rails 8 minor lines.
Changes
Appraisals: replace the fourrails*/active*appraise blocks for 6.0.6/6.1.7.6/7.0.8/7.1.3 with new ones for 7.1.6/7.2.3.2/8.0.5.1/8.1.3.1gemfiles/: regenerate the corresponding.gemfile/.gemfile.lockpairs viabundle exec appraisal generate+bundle lock(old version files removed, matchedruby/x86_64-linuxplatform convention used by the existing lockfiles).github/workflows/build.yml: update thegemfilematrix to the new appraisal namesREADME.md: update the stated tested Rails range (6.0–7.1 → 7.1–8.1) and the exampleappraisalcommand's Rails versionNotes
Rails 8.x requires Ruby >= 3.2, so its lockfiles were resolved under Ruby 3.4 (matches the Ruby versions already in the CI matrix). Local Xcode/CLT on this machine is broken, so the full
bundle exec appraisal rspecrun per gemfile could not be executed locally (dependency resolution succeeded and the default non-Rails spec suite passes); CI will validate the native-extension build and full spec run across the matrix.Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com