Skip to content

feat: Experimental encrypted state feature flag with CI support #5537

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
merged 1 commit into from
Aug 15, 2025

Conversation

kaylendog
Copy link
Contributor

This PR makes some non-domain-specific changes across multiple crates that are required for proper testing of features implemented for #5397.

  • Adds a experimental-encrypted-state-events feature flag across the SDK.
  • Introduces a feature set into xtask to ensure feature-gated tests are run during CI.
  • Minor fix to a test that would otherwise fail with the newly introduced CI.

@kaylendog kaylendog requested review from a team as code owners August 14, 2025 16:13
@kaylendog kaylendog requested review from andybalaam and removed request for a team August 14, 2025 16:13
@kaylendog kaylendog self-assigned this Aug 14, 2025
Comment on lines +1166 to +1167
#[cfg(feature = "experimental-encrypted-state-events")]
encrypt_state_events: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the change to the test I mentioned in the PR descrption - didn't catch it erroring prior to merging #5511 since there was no CI (sorry 😬)

@kaylendog kaylendog requested a review from richvdh August 14, 2025 16:15
Copy link

codecov bot commented Aug 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.56%. Comparing base (d9f4e7c) to head (c1a0f2e).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5537      +/-   ##
==========================================
- Coverage   88.57%   88.56%   -0.01%     
==========================================
  Files         340      340              
  Lines       93688    93690       +2     
  Branches    93688    93690       +2     
==========================================
- Hits        82982    82980       -2     
- Misses       6573     6577       +4     
  Partials     4133     4133              

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

Copy link

codspeed-hq bot commented Aug 14, 2025

CodSpeed Performance Report

Merging #5537 will not alter performance

Comparing kaylendog:kaylendog/msc3414/xtask (c1a0f2e) with main (d9f4e7c)

Summary

✅ 31 untouched benchmarks

* Adds a `experimental-encrypted-state-events` feature flag across the SDK.
* Introduces a feature set into xtask to ensure feature-gated tests are
  run during CI.
* Introduces a new matrix entry into the Ubuntu CI.
* Minor fix to a test that would otherwise fail with the newly
  introduced CI.
@kaylendog kaylendog force-pushed the kaylendog/msc3414/xtask branch from 3ba70c8 to c1a0f2e Compare August 14, 2025 16:33
@kaylendog
Copy link
Contributor Author

Looks like another flaky complement-crypto test

@richvdh
Copy link
Member

richvdh commented Aug 15, 2025

Looks like another flaky complement-crypto test

Indeed, tracked at #5068

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@richvdh richvdh enabled auto-merge (squash) August 15, 2025 12:47
@richvdh richvdh merged commit ae7f0fe into matrix-org:main Aug 15, 2025
58 of 59 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.

2 participants