Skip to content

Conversation

@stefanceriu
Copy link
Member

This will allow the NSE process to populate the event cache store with even data after retrieving it from sync, as opposed to dropping after rendering the notification it as it did previously.

@codecov
Copy link

codecov bot commented Dec 8, 2025

Codecov Report

❌ Patch coverage is 85.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.51%. Comparing base (ce65317) to head (116003a).
⚠️ Report is 82 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
crates/matrix-sdk-base/src/client.rs 75.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5934   +/-   ##
=======================================
  Coverage   88.51%   88.51%           
=======================================
  Files         363      363           
  Lines      103469   103493   +24     
  Branches   103469   103493   +24     
=======================================
+ Hits        91582    91611   +29     
+ Misses       7533     7528    -5     
  Partials     4354     4354           

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

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 8, 2025

CodSpeed Performance Report

Merging #5934 will not alter performance

Comparing stefan/notificationClientCrossProcessLockingStores (116003a) with main (c3c367c)

Summary

✅ 50 untouched

@stefanceriu stefanceriu requested a review from Hywan December 8, 2025 11:09
…a stores instead of in-memory ones

This will allow the NSE process to populate the event cache store with even data after retrieving it from sync, as opposed to dropping after rendering the notification it as it did previously.
@stefanceriu stefanceriu force-pushed the stefan/notificationClientCrossProcessLockingStores branch from e377d58 to a836b72 Compare December 12, 2025 11:06
Comment on lines 232 to 233
event_cache_store: self.event_cache_store.clone(),
media_store: self.media_store.clone(),
Copy link
Member

Choose a reason for hiding this comment

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

⚠️ This is wrong!

You're cloning the EventCacheStoreLock and MediaStoreLock, with the main cross-process holder name. It doesn't use the new cross_process_store_locks_holder_name received by argument here.

@Hywan Hywan force-pushed the stefan/notificationClientCrossProcessLockingStores branch from ddab0d2 to d6e8dae Compare December 19, 2025 13:53
This patch renames `clone_with_in_memory_state_store` to
`derive_states_for_notification_client`. At least it clarifies what it
does.
@Hywan Hywan force-pushed the stefan/notificationClientCrossProcessLockingStores branch from 77931b6 to 116003a Compare December 19, 2025 13:58
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