-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Various fixes in fetchAuthEvents
#3447
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Note that I'm happy with adding the failing Sytests to the blocklist, as they test implementation specific behavior. |
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.
No justification for the change, nor any tests.
What's the context here?
@kegsay These changes were cherry-picked in from Harmony. Overview:
I didn't write tests and I probably won't at this point because I am happy with the logic of the changes. I've extensively tested them on my own instance and have seen a dramatic reduction in unexpected state resets and/or state going missing, as well as a near-total reduction of unexpected auth errors that aren't signature-related. This is one of the things we've been missing for literally years now on why Dendrite was unexpectedly unreliable in some rooms with no obvious explanation. It's a huge enough fix to be probably even worthy of a release. |
This might fix issues with state events gone missing.