Skip to content

Add retention and GC for acked offline sync records #1169

Description

@RUKAYAT-CODER

Background

Acknowledged sync records are never purged from IndexedDB and accumulate indefinitely. Add a retention/GC policy.

Files to modify (2-3)

src/services/offlineSync.ts
src/store/persistenceLayer.ts

Acceptance Criteria

Implemented across the listed files

Unit/integration tests added or updated and passing

No regression; follows project coding standards

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions