Debugging Hell: One Bug That Nearly Crashed Our Launch ๐ฃ Debugging Hell: One Bug That Nearly Crashed Our Launch Published: 20/06/2025 – Behind the Scenes Series #3 ๐จ The Crash That Didn’t Make TechCrunch (But Almost Made Us Quit) Three days before launch, everything was on track… until we realized that new users weren’t being saved to the database . The app was showing a “Signup successful” message — but behind the scenes, nothing was saved. Users tried logging in again and were met with… silence. It was like they never existed. ๐งต How It Unfolded (A Real Timeline) T–72 hours: Suspicion One teammate said, “Weird, I just signed up but I’m not showing in the users table.” We checked. They were right. The auth record existed, but no user profile row. T–60 hours: Panic Our signup logic used a chained `.then()` call after a Supabase signup: signup(email, password).then(() => { createUserProfile(email); }); But `...
Journey of seeking knowledge and wisdom