Skip to content

Add safe offline queue recovery workflow - #250

Merged
stef-k merged 10 commits into
mainfrom
feature/244-offline-queue-recovery
Aug 22, 2026
Merged

Add safe offline queue recovery workflow#250
stef-k merged 10 commits into
mainfrom
feature/244-offline-queue-recovery

Conversation

@stef-k

@stef-k stef-k commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a portable queue-recovery export using the existing idempotency GUID
  • persistently suspend delivery and wait for active work before producing a recovery snapshot
  • serialize Prepare, CSV/GeoJSON export, and Resume through one recovery-operation owner
  • resume through the ordinary drain path so imported records reconcile without duplicates
  • preserve Timeline import as local-history-only and never clear queue rows because of export/import
  • document full phone-and-server recovery, expedited delivery, failure behavior, formats, and privacy

Coordinates with backend PR stef-k/Wayfarer#494.

Closes #244.

Validation

  • final focused recovery safety/contracts: 12 passed
  • focused affected recovery selection: 68 passed
  • complete mobile suite before the final bounded coordination correction: 1,880 passed
  • Release test/Core build: succeeded
  • Android Release build: succeeded with existing package/XAML warnings
  • git diff --check: passed

User workflow

Full recovery requires importing the recovery file into both:

  1. the replacement phone Timeline for local history
  2. Wayfarer for confirmed server history

Resume and reconcile then uses the normal drain path and the same idempotency GUID. Export never deletes queue records.

Database

No mobile schema migration.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
WayfarerMobile.Core 86% 79% 891
Summary 86% (1181 / 1370) 79% (602 / 764) 891

@stef-k
stef-k merged commit b4056a6 into main Aug 22, 2026
1 check passed
@stef-k
stef-k deleted the feature/244-offline-queue-recovery branch August 22, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Define safe recovery for exported offline queue locations

1 participant