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

Update setup for Rails 7.1 #2125

Merged
merged 3 commits into from
Oct 7, 2023
Merged

Update setup for Rails 7.1 #2125

merged 3 commits into from
Oct 7, 2023

Conversation

st0012
Copy link
Collaborator

@st0012 st0012 commented Oct 5, 2023

Since Rails 7.1 has been officially released, we update sentry-rails' setup for it.

This also addresses build failures in sentry-delayed_job and sentry-sidekiq.

#skip-changelog

@st0012 st0012 self-assigned this Oct 5, 2023
@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

Merging #2125 (9cc99ca) into master (286135c) will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2125      +/-   ##
==========================================
- Coverage   97.48%   97.27%   -0.22%     
==========================================
  Files          88       96       +8     
  Lines        3382     3596     +214     
==========================================
+ Hits         3297     3498     +201     
- Misses         85       98      +13     
Components Coverage Δ
sentry-ruby 97.99% <ø> (ø)
sentry-rails 94.96% <ø> (ø)
sentry-sidekiq 93.70% <ø> (∅)
sentry-resque 91.80% <ø> (ø)
sentry-delayed_job 94.36% <ø> (∅)
sentry-opentelemetry 100.00% <ø> (ø)

see 8 files with indirect coverage changes

@st0012 st0012 force-pushed the rails-7-1 branch 3 times, most recently from 8d38716 to 253fc87 Compare October 7, 2023 10:57
@st0012 st0012 force-pushed the rails-7-1 branch 4 times, most recently from 3636da7 to 5fe75ff Compare October 7, 2023 11:10
# We need to cleanup Rails.logger because after https://github.com/rails/rails/pull/49417
# Rails.logger could get recreated with the previous logger value and become deeply nested broadcast logger
Rails.logger = nil
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behaviour has been addressed in rails/rails#49462, so we don't need this anymore.

@st0012 st0012 merged commit 3d0ed07 into master Oct 7, 2023
98 of 99 checks passed
@st0012 st0012 deleted the rails-7-1 branch October 7, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants