Page MenuHomePhabricator

[client-backup] implement initial backup protocol
ClosedPublic

Authored by kamil on Aug 29 2023, 2:44 AM.
Tags
None
Referenced Files
F2129802: D9001.diff
Thu, Jun 27, 2:13 PM
F2123793: D9001.id30749.diff
Wed, Jun 26, 7:12 PM
Unknown Object (File)
Wed, Jun 26, 1:46 PM
Unknown Object (File)
Tue, Jun 25, 9:50 PM
Unknown Object (File)
Tue, Jun 25, 7:22 PM
Unknown Object (File)
Tue, Jun 25, 4:40 AM
Unknown Object (File)
Tue, Jun 25, 4:40 AM
Unknown Object (File)
Tue, Jun 25, 4:40 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
Branch
client-backup
Lint
No Lint Coverage
Unit
No Test Coverage

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