HomePhabricator
Diffusion Comm bc8f71d25837

[web] Restore logs

Description

[web] Restore logs

Summary:
After restoring the compaction we can restore the logs, using another key passed in the message.

Depends on D11043

Test Plan:

  • Add logging to the native client so that it logs backupID and encryption keys for compaction and logs
  • Upload a new compaction from native with a draft
  • Add a new draft, so that there are logs created
  • Send restore message on web with values logged from native
  • Reload web app
  • Check that both drafts (from compaction and logs) exists now on web. Check that the enabled apps are the same as before restore (redux persist didn't change)

Reviewers: marcin, bartek, kamil

Reviewed By: marcin, kamil

Subscribers: ashoat, tomek

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

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Feb 9 2024, 8:12 AM
Reviewer
marcin
Differential Revision
D11044: [web] Restore logs
Parents
rCOMM3a0792a28867: [web] Restore compaction
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMbc8f71d25837: [web] Restore logs (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Mar 6 2024, 6:13 AM