Skip to content

BE026 - Durable Shopping-List Offline Outbox and Reconciliation - #217

Open
lindahha wants to merge 2 commits into
mainfrom
BE026-shopping-list-offline-outbox
Open

BE026 - Durable Shopping-List Offline Outbox and Reconciliation#217
lindahha wants to merge 2 commits into
mainfrom
BE026-shopping-list-offline-outbox

Conversation

@lindahha

@lindahha lindahha commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Ticket

BE026 - Durable Shopping-List Offline Outbox and Reconciliation

Description

Implemented offline outbox support for shopping list synchronization.

  • Added a local shopping list outbox for queuing pending sync operations.
  • Added support for retrying failed synchronization operations.
  • Added shopping list sync state tracking for pending, failed, and synced operations.
  • Integrated the outbox and sync state into the shopping list hook.
  • Added automated tests covering outbox queuing, pending operations, retries, failures, and sync state.

Testing

cd mobile-app
npx jest __tests__/shoppingListOutbox.test.ts --runInBand

Result: 8 tests passed, 1 test suite passed.


<!-- The first three should be ticked before requesting review, and the last one before merging -->
<!-- Do not modify this section unless you're adding new checks -->
## Checks 

- [x] All requirements of the ticket have been implemented, or I have commented on any exclusions
- [x] Unit tests have been added or updated for any backend changes (if applicable)
- [x] I have reviewed the **Files Changed** tab and verified it only contains relevant changes (comment if unsure about any)
- [ ] This PR has been reviewed and approved


<!-- Add screenshots of frontend changes here if applicable, or remove this section -->
## Screenshots

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.

1 participant