Star and mark unread with durable outbox + re-login retry #14
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TheAnachronism/tt-rss-viewer#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
From the Reader, the person can star/unstar and mark unread with optimistic UI. Those mark actions are recorded in a durable per-Account outbox so they survive process death and flush via
updateArticle. If thesidis dead, the client transparently re-logins with the stored password, refreshessid, and retries once before surfacing an error.Acceptance criteria
updateArticlefield 0 starred / field 2 unread)NOT_LOGGED_IN/ deadsid, the client re-logins, retries the failing call once, and only then shows an error if it still failsBlocked by
Implemented durable per-Account mark outbox + transparent session retry.
Reader: optimistic star/unstar + mark unread. Prefs outbox survives process death; flushes updateArticle (field 0/2). withActiveClient re-logins on NOT_LOGGED_IN and retries once. Remove Account clears outbox; cold start/switch flushes pending. 56 tests passing; analyze clean.