-
Notifications
You must be signed in to change notification settings - Fork 600
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
Ruby 3.4 Support: Errors and their output may be different #2902
Comments
After spending some time looking into this, it seems like the thread profiler is likely the most impacted class as a result of this change. The thread profiler uses the BacktraceNode class that has a regex that expects the `word' format for parsing the backtrace. However, more work needs to be done to look at the diff between old and new errors galore playground responses Areas in tests where `\w+' hard coded:
Surprising errors galore error:
http://localhost:3000/scenarios/external_request_nonexistent_result |
For the spike/discovery side of this ticket, I've created two new issues with the work to provide support for the Ruby 3.4 backtrace syntax: #2992 should be finished before December 25, but it is currently blocked by bugs in the Thread Profiling UI. |
In the
config_file_loading
multiverse suite, the testtest_warning_logged_when_config_file_erb_error
fails because the file name and line number are no longer included in the error output. In addition, the error class has also changed.Ruby 3.3.1:
Ruby 3.4.0-preview2:
In addition to fixing the test, we may want to take a closer look at our New Relic agent log error output and errors inbox behavior to see if there are unintended changes that might compromise the customer's experience.
The
config_file_loading
suite is currently disabled for Ruby 3.4.0-preview2. It will need to be manually re-enabled for testing.The text was updated successfully, but these errors were encountered: