Skip to content
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

Ensure E2EE never tracks UnknownError #7304

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Conversation

Anderas
Copy link
Contributor

@Anderas Anderas commented Jan 26, 2023

We have been using UnknownError analytics event to track some types of E2EE errors. This error type is however used for other unrelated events as well (notably VOIP), which makes it impossible to distinguish the area of concern.

To solve this we will never use the generic UnknownError to track E2EE errors and instead only rely on the existing OlmUnspecifiedError (even if the "Olm" in the name is misleading). Further details about the error are always present in the context property

@Anderas Anderas force-pushed the andy/tracking_changes branch from da4b6c3 to 5a5ac20 Compare January 26, 2023 11:19
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Anderas Anderas requested a review from pixlwave January 26, 2023 11:21
@Anderas Anderas changed the base branch from develop to hotfix/1.9.16 January 26, 2023 11:23
@Anderas Anderas force-pushed the andy/tracking_changes branch from 5a5ac20 to 3e286d1 Compare January 26, 2023 11:23
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@codecov
Copy link

codecov bot commented Jan 26, 2023

Codecov Report

Base: 11.97% // Head: 11.97% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (3e286d1) compared to base (06c572e).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                Coverage Diff                @@
##           hotfix/1.9.16    #7304      +/-   ##
=================================================
- Coverage          11.97%   11.97%   -0.01%     
=================================================
  Files               1634     1634              
  Lines             161034   161031       -3     
  Branches           65131    65124       -7     
=================================================
- Hits               19291    19288       -3     
  Misses            141101   141101              
  Partials             642      642              
Flag Coverage Δ
uitests 55.34% <ø> (ø)
unittests 5.95% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
Riot/Modules/Analytics/DecryptionFailure.swift 0.00% <ø> (ø)
Riot/Modules/Analytics/DecryptionFailureTracker.m 35.22% <ø> (+1.53%) ⬆️
...alytics/Helpers/MXCallHangupReason+Analytics.swift 0.00% <0.00%> (ø)
...ojiPicker/Data/EmojiMart/EmojiItem+EmojiMart.swift 95.34% <0.00%> (-0.31%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Anderas Anderas merged commit 0e0f9e8 into hotfix/1.9.16 Jan 26, 2023
@Anderas Anderas deleted the andy/tracking_changes branch January 26, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants