From 24547e4efd3a45b36b3bea8c29cfc687230a6d3a Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 10 Oct 2026 16:15:48 +0200 Subject: feat(android): send a manifest of what each backup run sent Photos, videos and files record, per file, their path on the node, their path and album on the phone, dates, size and SHA-256, uploaded as meshbay-manifest/manifest-.jsonl once the run is done. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/tests/test_drive_sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/meshbay-hub/tests/test_drive_sync.py') diff --git a/packages/meshbay-hub/tests/test_drive_sync.py b/packages/meshbay-hub/tests/test_drive_sync.py index d46ac66..7fc35d2 100644 --- a/packages/meshbay-hub/tests/test_drive_sync.py +++ b/packages/meshbay-hub/tests/test_drive_sync.py @@ -75,7 +75,9 @@ fake.transport = { const hubFetch = async () => ({ admin_id: 'u-bob', members: fake.members, invited: [] }); win.meshbay = { driveSync: { status: async () => fake.status, - plan: async () => { fake.log.push(['plan']); return { items: fake.items }; }, + plan: async () => { fake.log.push(['plan']); return { items: fake.items, manifest: false }; }, + manifest: async () => ({ item: null }), + manifestSent: async () => true, sent: async (token, dir, name) => { fake.log.push(['sent', token, dir, name]); return true; }, completed: async () => { fake.log.push(['completed']); fake.status.lastCompleted = Date.now(); return fake.status; }, failed: async (code, text) => { fake.log.push(['failed', code, text]); return true; }, -- cgit v1.2.3