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)
Mon, Dec 23, 9:22 PM
Unknown Object (File)
Mon, Dec 23, 9:22 PM
Unknown Object (File)
Mon, Dec 23, 9:21 PM
Unknown Object (File)
Mon, Dec 23, 9:21 PM
Unknown Object (File)
Wed, Nov 27, 7:56 AM
Unknown Object (File)
Nov 23 2024, 2:59 PM
Unknown Object (File)
Nov 23 2024, 1:03 PM
Unknown Object (File)
Nov 6 2024, 6:56 PM
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