Preserve native sessions during temporary server outages
This commit is contained in:
@@ -9,3 +9,14 @@ calls Twitch directly, executes plugin code, or treats local UI state as
|
||||
authoritative. Local overlay drafts and display preferences are recoverable
|
||||
presentation data only; the server remains authoritative for publication,
|
||||
authorization, Twitch state, and durable history.
|
||||
|
||||
# Saved-session recovery
|
||||
|
||||
Native startup verifies the keyring session before loading authenticated data.
|
||||
HTTP 401/403 clears the saved session and requests login. Server failures retain
|
||||
the credential and retry immediately, then after 3, 10, 15, and repeatedly 30
|
||||
seconds. Manual login and logout cancel pending restoration. Dashboard-loading
|
||||
failures do not invalidate a successfully verified session.
|
||||
|
||||
Run `node --test src/session-recovery.test.js` for response classification and
|
||||
retry-schedule coverage. This is not a substitute for native AppImage acceptance.
|
||||
|
||||
Reference in New Issue
Block a user