Skip to content

Exclude insecure devices on Olm encryption #5457

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

Merged

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Jul 28, 2025

Fixes the encrypting part of #4147

Probably easiest to review commit-by-commit

  • Public API changes documented in changelogs (optional)

Signed-off-by:

Copy link

codspeed-hq bot commented Jul 28, 2025

CodSpeed Performance Report

Merging #5457 will not alter performance

Comparing uhoreg:exclude_insecure_devices_olm_encryption (9967057) with main (b164cd6)

Summary

✅ 6 untouched benchmarks

Copy link

codecov bot commented Jul 29, 2025

Codecov Report

❌ Patch coverage is 90.31792% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.93%. Comparing base (92192c5) to head (9967057).
⚠️ Report is 22 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...c/session_manager/group_sessions/share_strategy.rs 90.29% 55 Missing and 10 partials ⚠️
crates/matrix-sdk-crypto/src/identities/device.rs 90.00% 0 Missing and 1 partial ⚠️
crates/matrix-sdk-crypto/src/machine/mod.rs 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #5457    +/-   ##
========================================
  Coverage   88.92%   88.93%            
========================================
  Files         333      333            
  Lines       92267    92932   +665     
  Branches    92267    92932   +665     
========================================
+ Hits        82051    82651   +600     
- Misses       6374     6427    +53     
- Partials     3842     3854    +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@uhoreg uhoreg force-pushed the exclude_insecure_devices_olm_encryption branch from 6b19eae to cd4b8a7 Compare July 29, 2025 19:45
@uhoreg uhoreg marked this pull request as ready for review July 29, 2025 20:55
@uhoreg uhoreg requested review from a team as code owners July 29, 2025 20:55
@uhoreg uhoreg requested review from andybalaam and removed request for a team July 29, 2025 20:55
@uhoreg
Copy link
Member Author

uhoreg commented Jul 29, 2025

Code Coverage failure is due to the runner running out of disk space. It succeeded last night. Will re-try in a bit.

@poljar
Copy link
Contributor

poljar commented Jul 30, 2025

Code Coverage failure is due to the runner running out of disk space. It succeeded last night. Will re-try in a bit.

I attempted to free some more space up in #5464. You might need to rebase for this PR to pick up things.

Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

I got a bit lost in all this and would appreciate you talking me through it if possible.

Copy link
Member

@andybalaam andybalaam 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, thanks!

@uhoreg
Copy link
Member Author

uhoreg commented Jul 31, 2025

@andybalaam or @poljar Can one of you mash the "merge" button? I don't have permissions to do so.

@poljar
Copy link
Contributor

poljar commented Aug 1, 2025

I'll let the reviewer take car of this, unless Andy doesn't merge by the end of the day.

@andybalaam andybalaam merged commit a4da6ba into matrix-org:main Aug 4, 2025
47 checks passed
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.

3 participants