Skip to content
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

Upgrade to Rails v7.2 #843

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

Upgrade to Rails v7.2 #843

wants to merge 1 commit into from

Conversation

ezekg
Copy link
Member

@ezekg ezekg commented May 17, 2024

WIP. Using the current release candidate. Bullet doesn't support Rails v7.2 yet.

Gemfile Outdated Show resolved Hide resolved
module ActiveRecordWhereAssoc
module ActiveRecordCompat
if ActiveRecord.gem_version >= Gem::Version.new('7.2.0.alpha')
def self.normalize_association_name(name) = name.to_sym

This comment was marked as resolved.

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from b38eb80 to 69a27f3 Compare May 17, 2024 20:45
spec/factories/entitlement.rb Outdated Show resolved Hide resolved
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch 3 times, most recently from 953d70a to 91fb970 Compare May 18, 2024 00:39
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from 91fb970 to aeab923 Compare May 20, 2024 16:05
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch 2 times, most recently from b497cd1 to af37a86 Compare May 20, 2024 19:53
@ezekg
Copy link
Member Author

ezekg commented May 20, 2024

I give up. I tried various workarounds for rails/rails#51853, but I think this is a bug that needs to be fixed upstream.

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from af37a86 to 6f7ef50 Compare May 20, 2024 21:32
@zzak
Copy link

zzak commented May 21, 2024

@ezekg Are you willing to try and bisect with your repro script to help identify the cause of the change?

@ezekg
Copy link
Member Author

ezekg commented May 21, 2024

@ezekg Are you willing to try and bisect with your repro script to help identify the cause of the change?

@zzak Sure. I posted the bisect results in rails/rails#51853 (comment).

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch 2 times, most recently from 6ac3a00 to 3f9713f Compare June 5, 2024 21:55
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from 3f9713f to cd38c21 Compare July 26, 2024 06:02
@ezekg
Copy link
Member Author

ezekg commented Jul 26, 2024

I think failing tests are related to the export/import tests missing:

before { Sidekiq::Testing.inline! }
after  { Sidekiq::Testing.fake! }

@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from cd38c21 to 82431af Compare July 26, 2024 19:04
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch 2 times, most recently from c317123 to a1b2fea Compare August 7, 2024 16:50
@ezekg ezekg force-pushed the feature/upgrade-rails-7-2 branch from a1b2fea to 322ca46 Compare August 7, 2024 16:52
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.

2 participants