HomePhabricator
Diffusion Comm 22f31403e96a

[web] Persist messageStore in db

Description

[web] Persist messageStore in db

Summary:
ENG-5307 : Start performing message store ops on worker
ENG-5806 : Start performing message store threads ops on worker
Part of ENG-3490 : Migrate stores to SQLite on web

Start persting messageStore on web, inside of sqlite db.

Depends on D11538

Test Plan:

  • Open web app, check that the "migration" runs and:
    • Ops with messageStore from keyserver are dispatched to the db
    • Redux contains the data
  • Reload the web app and check that:
    • Keyserver doesn't send the message info
    • Message info is loaded from db and dispatched in setInitialReduxState action
  • Play around with the app check if there are any errors

Reviewers: kamil, marcin

Reviewed By: kamil

Subscribers: inka, ashoat, tomek

Differential Revision: https://phab.comm.dev/D11539

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Apr 2 2024, 7:04 AM
Reviewer
kamil
Differential Revision
D11539: [web] Persist messageStore in db
Parents
rCOMMab92c212fd9a: [web] Persist userStore in db
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM22f31403e96a: [web] Persist messageStore in db (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Apr 5 2024, 9:44 AM