Page MenuHomePhabricator

[lib] refactor state-sync actions in `keyserver-reducer` to ops
ClosedPublic

Authored by kamil on Jan 22 2024, 3:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 26, 11:28 AM
Unknown Object (File)
Mon, Jun 24, 1:25 PM
Unknown Object (File)
Thu, Jun 13, 4:58 AM
Unknown Object (File)
Thu, Jun 6, 2:24 PM
Unknown Object (File)
Thu, Jun 6, 8:18 AM
Unknown Object (File)
Sat, Jun 1, 2:06 PM
Unknown Object (File)
May 23 2024, 10:14 AM
Unknown Object (File)
May 20 2024, 2:44 AM
Subscribers

Details

Summary

Convert logic to ops approach.

Depends on D10761

Test Plan

Test for fullStateSyncActionType:

  1. Make sessionInitializationResult.sessionContinued in keyserver's socket to always return true
  2. Make sure updatesCurrentAsOf is properly set after ops

Test for incrementalStateSyncActionType:

  1. Close and open app
  2. Make sure updatesCurrentAsOf is properly set after ops

Tested on native

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jan 22 2024, 6:34 AM
This revision is now accepted and ready to land.Jan 22 2024, 9:27 AM