Commit Graph

4 Commits

Author SHA1 Message Date
Developer de6d575cee fix(sync): harden worker metadata headers, token refresh on confirmation, and reconciliation ownership isolation
- Set X-MotorSignal-* headers on Worker GET /r2/verify responses and return 503 TEMPORARY_ERROR when Firestore ownership lookup fails with 429/5xx
2026-10-14 11:27:46 -04:00
Developer cff4734678 fix(sync): harden R2 cloud confirmation verification, add worker tests, and resolve CI backup gate
- Enforce positive bundle size, matching SHA-256, user-scoped object keys, and legacyUnverified status for historical bundles in R2UploadService and FirebaseSyncProvider

- Update SyncManager reconciliation to accept legacyUnverified status, mark historical rides as synced without re-upload, and track legacy unverified counts

- Add 18-test vitest suite for Cloudflare Worker /r2/verify endpoint covering CORS, auth, validation, ownership, HEAD/GET, legacy bundles, and errors

- Harden test/disposable_backup_recovery_verification_test.dart with candidate path discovery and CI skip guard
2026-10-14 10:34:06 -04:00
Developer 5e0db4c191 fix(sync): harden cloud confirmation states, R2 edge 404 handling, and in-flight cancellation 2026-10-13 22:05:25 -04:00
Developer d431f11a13 fix(sync): harden cloud confirmation with R2 verification and account isolation 2026-10-13 21:31:06 -04:00