6 min read
My app broke after a deploy: how to catch it next time
AI tools fix what you ask and quietly change what you didn't. The break is usually behind the login, where uptime checks don't look, so you hear about it from a user days later. Here's how to recover and how to stop being the last to know.
1. Get back to working first
- Roll back before you debug. Vercel and Netlify can put the previous deployment back in one click; most AI builders keep a version history you can restore.
- Then find the change: compare the last working version with the broken one, or ask the AI tool what it changed in the last edit.
2. Why it keeps happening
- The AI tool can't see your whole app at once, so it changes shared code (a sign-in helper, a database query, a type) without knowing what else uses it.
- Nothing checks the app after each change. There are no tests, and the preview is only clicked through when you remember.
- Fixes come undone: a later edit puts the old, broken code back.
3. Check the paths that matter after every change
Keep a short list and go through it after every deploy. Five minutes is enough:
- Sign up and sign in, with a test account
- The main page users see after signing in
- The main thing users do (create, upload, book, buy)
- Payments, if you take them
- The browser console on those pages: new red errors are a warning
Prompt for your AI tool
Before you change anything: tell me which files and features depend on what you're about to change. After the change, list exactly what I should click to check that sign-in, the main signed-in page, the main user action and payments still work. If you change shared code, say so.
4. Make the checks automatic
- Add a few end-to-end tests (Playwright works well) for those paths, and run them before each deploy.
- Add error tracking such as Sentry, so errors in users' browsers reach you.
- Watch the signed-in pages, not only the front page: that's where breakage hides.
Let Vern sign in every day and check
The daily signed-in check signs in as your test user every day, opens the pages behind the login, and emails you when something breaks that worked the day before. “Came back” alerts tell you when a problem you fixed returns.
Who gets it: Daily signed-in check: Pro, Agency and Vern Care. “Came back” alerts: every plan
See plans