Page MenuHomePhabricator

[client-backup] implement initial backup protocol
ClosedPublic

Authored by kamil on Aug 29 2023, 2:44 AM.
Tags
None
Referenced Files
F2067734: D9001.id.diff
Fri, Jun 21, 3:40 PM
Unknown Object (File)
Thu, Jun 20, 8:14 PM
Unknown Object (File)
Tue, Jun 18, 10:41 PM
Unknown Object (File)
Sun, Jun 16, 4:58 AM
Unknown Object (File)
Mon, Jun 10, 9:31 AM
Unknown Object (File)
Sun, May 26, 10:19 AM
Unknown Object (File)
May 19 2024, 9:09 AM
Unknown Object (File)
May 19 2024, 9:09 AM
Subscribers

Details

Summary

Function performing full backup.

Depends on D9000

Test Plan

Call uploadBackup function and make sure content was uploaded.

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.Aug 29 2023, 3:35 AM
native/backup/use-client-backup.js
44 ↗(On Diff #30484)

Nit: you can let this promise and the two above run simultaneously.

native/backup/use-client-backup.js
56 ↗(On Diff #30484)

Is this only temporary? Should we also add accessToken to the if at the beginning?

native/backup/use-client-backup.js
44 ↗(On Diff #30484)

I think only one above (getUserPublicKey) but you're right, I will update before landing

56 ↗(On Diff #30484)

it's temporary, I will update after CommAccessToken is available on native (and until it's ignored in services codebase)

This revision is now accepted and ready to land.Aug 30 2023, 7:04 AM

rebase

native/backup/use-client-backup.js
44 ↗(On Diff #30484)

addressed in D9074