-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Include ActiveSupport::Testing::TaggedLogging for Rails >= 7 #2580
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Do you think it's possible to add a snippet that would fail without this fix? An example snippet.
I've added the snippet. Not quite sure if I've done it correctly. The snippet will fail without the fix. |
Perfect, thank you! |
I've re-triggered the build as Rails seems to have finally released 5.2.x with a fix for Ruby 2.2 support. But they also released 6.1.5 and broke something for us. Do you think this is related?
|
Not sure what's up with that failing jRuby test. |
Quite an interesting case. |
I tried to install JRuby this morning to take a look at this failure, but it seems broken on M1 macs via asdf at the moment, do we need this to be a snippet? Its currently a regression test as well, what actually does the tagged logger do? Could we write an integration test instead? |
@JonRowe Latest JRuby 9.3 should be working well on M1. Perhaps asdf is not updated to the latest release? (9.3.3). The failure error is very peculiar. I don't know why I'll try to reproduce locally. |
I do see now that it appears to be trying to call |
I have not been able to reproduce so far, but I got some other weird errors that seem to be an issue in my environment. I would suggest trying to upgrade to 9.3 in this PR since it should be upgraded anyway and might fix the issue. |
Upgrading JRuby did not fix the issue. See also 5d9d3b0 where I instantiated the expected error to get around the JRuby error but that caused other errors. |
I have cleaned up my local env issue and can now reproduce the same error! |
I will try to look into this for a fix for JRuby 9.3.4 but no promises... we are hoping to release next week. If anyone can narrow this down to some specific test that fails, it would be helpful. It almost looks like it is happening after the suite completes, but I am unfamiliar with your suites' output. |
|
Superseded by #2587 |
Fixes #2545. Not sure if anyone got to this yet. There was also another problem mentioned in that issue about a missing 'name' method, which this PR does not address.