Engineering Blog

Production architecture, reliability lessons, and implementation details from building Tweeks.

February 21, 20266 min read

Fixing Intermittent Auth Failures in Chrome Manifest V3

The fix was architectural: IndexedDB as canonical auth state, read-time refresh, and serialized refresh to prevent token-rotation races in Manifest V3.

chrome-extensionmanifest-v3supabaseauthenticationarchitecture