-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
De-duplicate error spam. #84724
base: master
Are you sure you want to change the base?
De-duplicate error spam. #84724
Conversation
This makes sense, but I suggest documenting this in the Also consider that the editor Output panel can collapse lines already, although this is disabled by default: #84499 |
Good idea I'll do this. 👍
Yes, the problem here is though that that doesn't prevent the spam entering the UPDATE: |
Intriguingly, the tests failing seems not to be to do with the static lifetimes or lack of mutex, they are failing because Maybe the tests are counting the number of errors or something... Still investigating. Yes:
Fails here, as there is no error, as the test is presumably duplicating the previous error. Maybe the solution is simple - to turn off deduplication during tests. 🤷♂️ |
779ee25
to
b6d0c2b
Compare
Prevent large amounts of duplicate error spam reaching the `MessageQueue`.
b6d0c2b
to
e150dfa
Compare
Prevent large amounts of duplicate error spam reaching the
MessageQueue
.Helps address #84713 .
Notes
TESTS_ENABLED
, because tests rely on duplicate errors being individually reported.MessageQueue
, so not to fill it up.MessageQueue
._err_print_error()
. Could possibly just lock around the whole function.