-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: random decryption errors after ending 1:1 on SFT (WPB-11213) #3022
Conversation
Quality Gate passedIssues Measures |
@@ -32,6 +32,7 @@ actual fun mapMLSException(exception: Exception): MLSFailure = | |||
is CryptoError.StaleCommit -> MLSFailure.StaleCommit | |||
is CryptoError.ConversationAlreadyExists -> MLSFailure.ConversationAlreadyExists | |||
is CryptoError.MessageEpochTooOld -> MLSFailure.MessageEpochTooOld | |||
is CryptoError.MlsException -> MLSFailure.InternalErrors |
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.
question: should we do this to all internal errors, or only when it is related to sub conversation messages
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.
I think so, we can make it for this specific case only, but it's error prone as we will base on string
Datadog ReportAll test runs ✅ 2 Total Test Services: 0 Failed, 2 Passed Test Services
|
Co-authored-by: Oussama Hassine <[email protected]> Co-authored-by: Mohamad Jaara <[email protected]>
Co-authored-by: Oussama Hassine <[email protected]> Co-authored-by: Mohamad Jaara <[email protected]>
…#3039) * fix: Ignore MLSException (#3022) (#3025) Co-authored-by: Oussama Hassine <[email protected]> Co-authored-by: Mohamad Jaara <[email protected]> * chore: empty commit --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Oussama Hassine <[email protected]> Co-authored-by: Mohamad Jaara <[email protected]>
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Some random decryption errors after ending 1:1 on SFT.
Causes (Optional)
A race condition when we try to delete or decrypt a message related to the call and the sub conversation.
Solutions
Ignore MlsException to not show the decryption
(iOS and web already ignoring it)
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.