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, Nov 6, 6:56 PM
Unknown Object (File)
Oct 15 2024, 11:17 AM
Unknown Object (File)
Oct 15 2024, 11:17 AM
Unknown Object (File)
Oct 15 2024, 11:17 AM
Unknown Object (File)
Oct 15 2024, 11:16 AM
Unknown Object (File)
Sep 4 2024, 7:43 AM
Unknown Object (File)
Aug 5 2024, 4:27 PM
Unknown Object (File)
Aug 5 2024, 4:27 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