Page MenuHomePhabricator

[keyserver] Determine which infos to send based on specs
ClosedPublic

Authored by tomek on Aug 29 2023, 6:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 4:23 AM
Unknown Object (File)
Tue, Oct 22, 1:00 PM
Unknown Object (File)
Tue, Oct 22, 1:00 PM
Unknown Object (File)
Tue, Oct 22, 1:00 PM
Unknown Object (File)
Tue, Oct 22, 5:04 AM
Unknown Object (File)
Oct 1 2024, 10:17 AM
Unknown Object (File)
Sep 28 2024, 12:34 PM
Unknown Object (File)
Sep 28 2024, 8:28 AM
Subscribers

Details

Summary

Define a new prop in a spec where we describe which keys are used when sending delete or new infos. The only complicated state to sync is userInfos because it contains an additional delete condition - when a user no longer has a name.

https://linear.app/comm/issue/ENG-4631/migrate-checkstate-from-session-utils-to-a-spec

Depends on D8979

Test Plan

Modify keyserver db and check if the store get fixed (including editing, inserting and deleting infos).

Diff Detail

Repository
rCOMM Comm
Branch
state-sync
Lint
No Lint Coverage
Unit
No Test Coverage