Skip to content

ci: test against newest Rails and Rack - #105

Merged
cardmagic merged 2 commits into
mainfrom
ci/newest-rails
Dec 2, 2026
Merged

cardmagic merged 2 commits into
mainfrom
ci/newest-rails

Conversation

@cardmagic

Copy link
Copy Markdown
Owner

What

Add a latest_rails CI job that runs the test suite and the at-least-once demo against the newest activerecord, actionpack, railties, and rack the gemspec's >= bounds allow.

The job uses gemfiles/latest_rails.gemfile (gemspec plus test deps, no committed lock) and resolves fresh on every run with bundler-cache: false. It runs on Ruby 4.0, the newest version already in the compatibility matrix, with the same default SQLite setup as the existing sqlite test job.

Why

Catch incompatibilities with new Rails and Rack releases before they land in Gemfile.lock. Today's lock is on Rails 8.1.3.1 and Rack 3.2.6; an unlocked resolve currently picks Rails 8.1.4.1 and Rack 3.2.9.

Notes

  • Existing locked jobs are unchanged.
  • Local verification on Ruby 3.3.14: bundle exec rake test (992 runs, 0 failures, 0 errors) and bundle exec rake at_least_once both passed against those resolved versions. No library changes were required.
  • Lucas merges. No tag.

Add an unlocked Gemfile and CI job that resolves the newest
activerecord, actionpack, railties, and rack allowed by the
gemspec on every run. Existing locked jobs are unchanged.
@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; the previous subprocess bundle issue is fixed.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; the previous subprocess bundle issue is fixed.

Summary

Adds a latest_rails CI job that tests freshly resolved Rails and Rack dependencies on Ruby 4.0.

  • CI tests the project against freshly resolved Rails and Rack versions.
  • Child test processes use the bundle selected for the test run.

Reviews (2) · Last reviewed commit: "test: honor BUNDLE_GEMFILE in subprocess..." · Reviewed by Greptile

Comment thread .github/workflows/ci.yml Resolved
Child processes were hard-coded to the root Gemfile, so the unlocked
latest-Rails CI job would either miss those gems or test the lockfile
instead. Preserve and expand the selected bundle path.
@cardmagic

Copy link
Copy Markdown
Owner Author

@greptileai review

@cardmagic
cardmagic merged commit ac68181 into main Dec 2, 2026
46 checks passed
@cardmagic
cardmagic deleted the ci/newest-rails branch December 2, 2026 01:55
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.

1 participant