Skip to content

[🛠️ Let's Fix Mongoid's Broken CI] Actually test Rails 6.0.0, 7.0.0, 7.1.0, and released version of 8.0.0 #5980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnnyshields
Copy link
Contributor

@johnnyshields johnnyshields commented May 9, 2025

Fun fact: Mongoid's CI is not testing the following versions of Rails at all:

  • 6.0.x
  • 7.0.x
  • 7.1.x

The reason is that gem 'actionpack', '~> 6.0' resolves to 6.Y.Z where Y and Z are the highest possible version. To enforce it is actually testing 6.0.Z, one must declare it as ~> 6.0.0

In addition, Rails 8.0 is pinned at 8.0.0-rc2, i.e. not the latest 8.0.Z release.

Please kindly backport this to any branches under stable maintenance to ensure that future patches to those branches also have proper test coverage.

@johnnyshields johnnyshields requested a review from a team as a code owner May 9, 2025 11:20
@johnnyshields johnnyshields force-pushed the actually-test-rails branch from 4c4e43c to 6d9d656 Compare May 9, 2025 11:27
@johnnyshields johnnyshields changed the title Actually test Rails 6.0.0, 7.0.0, 7.1.0, and released version of 8.0.0 [Let's Fix Mongoid's Broken CI] Actually test Rails 6.0.0, 7.0.0, 7.1.0, and released version of 8.0.0 May 12, 2025
@johnnyshields johnnyshields changed the title [Let's Fix Mongoid's Broken CI] Actually test Rails 6.0.0, 7.0.0, 7.1.0, and released version of 8.0.0 [🛠️ Let's Fix Mongoid's Broken CI] Actually test Rails 6.0.0, 7.0.0, 7.1.0, and released version of 8.0.0 May 12, 2025
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