Files
Tom MoorandClaude Opus 5 e141280d41 fix: Stop reporting expected IndexedDB connection closures (#13552)
The browser closes IndexedDB connections at times the page does not
control – a frozen or discarded tab, a navigation away, or another tab
deleting the database at logout. Persisted store data is a cache that
API traffic always overrides, so these failures have no effect for the
user, but each one was reported to Sentry as a warning.

- Log connection closed failures at debug level instead of reporting them
- Delete the database in clear() rather than emptying it through a
  transaction, which cannot fail against a closed connection
- Keep persistence enabled when hydration fails on a closed connection,
  rather than disabling it for the rest of the session

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 17:11:13 -04:00
..