You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feat] Chrome extension: queue captures while the backend is unavailable #21
A local backend may be stopped while the user is browsing, forcing users to return later to capture the item. Lost responses can also leave an import's outcome uncertain.
Proposed solution
Store explicit unsent captures in a visible local queue and let users submit them when the intended backend is available. Add backend idempotency or reconciliation before automatic write retries.
Acceptance criteria
Queue only user-requested captures with the identifier, type, target server, and destination library.
Distinguish unsent captures, successful imports, and writes with uncertain outcomes.
Allow inspection, editing, removal, and explicit submission of queued captures.
Isolate queues by server, revalidate destination libraries, and persist across popup/worker/browser restarts.
Never blindly replay an uncertain POST: use a persisted idempotency key or reconcile its outcome first.
Make automatic submission opt-in only after safe replay or reconciliation is implemented.
Test downtime, deleted libraries, server switching, restart recovery, and disconnect-after-commit.
Alternatives considered
A manual queue for unsent captures can ship first. Existing duplicate detection alone is not a replacement for idempotency when retrying a request whose outcome is unknown.
Relevant context
Potential post-v1 enhancement following #16; not a requirement for merging that PR.
Spans extension persistence/UI and backend retry semantics. Long-running import jobs may be useful supporting work, but are not part of the current implementation.
Activity