Repository navigation
ci: test against newest Rails and Rack - #105
Merged
Merged
Conversation
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.
[Low impact] The PR appears safe to merge; the previous subprocess bundle issue is fixed. SummaryAdds a
Reviews (2) · Last reviewed commit: "test: honor BUNDLE_GEMFILE in subprocess..." · Reviewed by Greptile |
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.
Owner
Author
|
@greptileai review |
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
Add a
latest_railsCI job that runs the test suite and the at-least-once demo against the newestactiverecord,actionpack,railties, andrackthe gemspec's>=bounds allow.The job uses
gemfiles/latest_rails.gemfile(gemspec plus test deps, no committed lock) and resolves fresh on every run withbundler-cache: false. It runs on Ruby 4.0, the newest version already in the compatibility matrix, with the same default SQLite setup as the existingsqlitetest 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
bundle exec rake test(992 runs, 0 failures, 0 errors) andbundle exec rake at_least_onceboth passed against those resolved versions. No library changes were required.