-
Notifications
You must be signed in to change notification settings - Fork 598
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
Resque instrumentation can require resolv-replace
which will become a bundled gem in Ruby 3.4
#2396
Comments
Thank you for bringing this to our attention, we didn't realize this. We'll take a look! |
For this issue to be addressed in the same manner as #2378, we'd want to store a fork of resolve-replace.rb locally and then reference it with a We welcome community PR submissions for this change and if in the absence of any we'll want to get after this some time in 2024. |
Description
resolv-replace
will get the same treatment asbase64
(see #2238/#2378/ruby changelog). This means that for users running Ruby 3.3 that setresque.use_ruby_dns
to true a warning will be logged, and for Ruby 3.4 (when it gets released next year) an error will be thrown.I tried finding this warning in the CI output here but I think this code path isn't being exercised in tests. This is the corresponding code:
newrelic-ruby-agent/lib/new_relic/agent/instrumentation/resque.rb
Line 29 in fd98f88
Note that I haven't actually tested this myself in a proper environment, I'm just going through gems I currently depend on that make use of these gems without declaring them.
Expected Behavior
No warning is logged.
Steps to Reproduce
Set
resque.use_ruby_dns
to true with Ruby 3.3For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
Suggested T-Shirt size (S, M, L, XL, Unknown):
The text was updated successfully, but these errors were encountered: