Page MenuHomePhabricator

[client-backup] implement initial backup protocol
ClosedPublic

Authored by kamil on Aug 29 2023, 2:44 AM.
Tags
None
Referenced Files
F3522995: D9001.id30480.diff
Mon, Dec 23, 8:05 AM
F3522930: D9001.id30749.diff
Mon, Dec 23, 7:56 AM
F3522544: D9001.id30732.diff
Mon, Dec 23, 7:00 AM
F3521627: D9001.diff
Mon, Dec 23, 4:14 AM
Unknown Object (File)
Nov 15 2024, 8:44 AM
Unknown Object (File)
Nov 3 2024, 5:07 PM
Unknown Object (File)
Oct 27 2024, 4:09 PM
Unknown Object (File)
Oct 17 2024, 4:39 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