Category
Bugs & Outages
Data loss, outages and broken screens after release — causes and fixes.
2 articles in this category
Bugs & Outages
The Number I Hid From the UI Was Wide Open in the API — Build Log #7
My app's unit-cost figure was admin-only on screen. But the API had no admin check, so any logged-in user could fetch it directly. Closing it took one line. Realizing that a 401 doesn't prove anything took longer.
Bugs & Outages
My Sync Code Wiped Local Data on Account Switch — The "Server Is the Source of Truth" Pitfall — Build Log #9
I deleted my account in my own to-do app, signed back in with the same Google login, and every task was gone. The culprit was an account-switch guard in my sync code that cleared the local cache because "the server has the real copy" — on a brand-new account where the server had nothing. Then I found the Supabase free plan had no backups.