matrix-rust-sdk icon indicating copy to clipboard operation
matrix-rust-sdk copied to clipboard

Sliding Sync PoC++

Open gnunicorn opened this issue 2 years ago • 1 comments

This PR implement MSC 3575: sliding sync in a reactive API on client, behind a feature-flag. It is using the ruma draft PR for those new events.

For testing this has a new labs project added: jack-in is a CLI matrix client for interactively testing the new sliding sync via a proxy.

Further more it exposes some of the API via UniFFI. But that interface is still incomplete.

gnunicorn avatar Jun 02 '22 08:06 gnunicorn

Codecov Report

Base: 80.30% // Head: 78.23% // Decreases project coverage by -2.06% :warning:

Coverage data is based on head (5c2e6e4) compared to base (9d2e0fe). Patch coverage: 7.51% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #728      +/-   ##
==========================================
- Coverage   80.30%   78.23%   -2.07%     
==========================================
  Files         115      117       +2     
  Lines       16064    16523     +459     
==========================================
+ Hits        12900    12927      +27     
- Misses       3164     3596     +432     
Impacted Files Coverage Δ
crates/matrix-sdk-base/src/rooms/normal.rs 82.05% <0.00%> (+0.41%) :arrow_up:
crates/matrix-sdk-base/src/sliding_sync.rs 0.00% <0.00%> (ø)
crates/matrix-sdk/src/lib.rs 100.00% <ø> (ø)
crates/matrix-sdk/src/sliding_sync.rs 0.00% <0.00%> (ø)
crates/matrix-sdk/src/client/mod.rs 80.69% <37.50%> (-3.25%) :arrow_down:
crates/matrix-sdk-base/src/client.rs 82.05% <100.00%> (ø)
crates/matrix-sdk/src/config/request.rs 100.00% <100.00%> (ø)
crates/matrix-sdk/src/sync.rs 75.00% <100.00%> (+1.47%) :arrow_up:
crates/matrix-sdk/src/account.rs 21.87% <0.00%> (-3.13%) :arrow_down:
... and 2 more

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

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

codecov[bot] avatar Jul 05 '22 16:07 codecov[bot]