You click through the app one last time. Sign up works, the dashboard loads, the payment goes through. You share the link on a Friday afternoon. By Sunday, someone has emailed to say they cannot log in, another reports that their data is missing, and the page you were proud of takes eight seconds to load.
Nothing about the code changed between Friday and Sunday. What changed is who is using it, how many of them there are, and how they behave. Production is a different environment from the one the app was built in, and AI coding tools build almost entirely for the first one.
Here are the seven things that change when an app goes live, and why each one catches AI-built apps out so often.
The preview window is a very forgiving place
Tools like Lovable, Bolt and Replit show you a live preview while they build. It runs with test data, a single user (you), a fast connection, and usually with generous settings that make errors less likely. Cursor and Claude Code run on your own machine, where the same is true.
An app that works in that setting has passed a very easy exam. It has proven that the happy path works for one person. It has not proven anything about the second person, the thousandth person, or the person who does something unexpected.
The AI tool also only knows what you asked for. If you described a feature, it built the feature. Nobody asked it to handle the case where two people edit the same record at once, so it did not.
Your test setup and your live setup are often not the same thing
A lot of "it worked yesterday" failures are really configuration failures.
Environment variables are the usual culprit. The app reads its database address, payment keys and email settings from values set outside the code. On your machine they live in a local file. When you deploy, they have to be entered again in your hosting dashboard, and if one is missing or has a typo, the feature that depends on it fails, sometimes without any visible error.
Then there are the services that behave differently in live mode. Stripe has separate test and live keys, and switching one without the other produces payments that look fine in the app and never arrive. Email providers often limit or block sending from an unverified domain, so the confirmation emails you received during testing never reach your customers. OAuth login buttons (Sign in with Google, for example) are tied to a list of allowed redirect addresses, and your live domain is not on that list until you add it.
None of these show up as a code bug. The code is fine. The setup around it is not.
One user finds nothing, a hundred users find everything
When you are the only person using the app, every race condition, duplicate submission and permissions problem stays hidden.
Two users clicking "buy" on the last item in stock. A customer double-tapping a submit button on a slow phone and creating two orders. Someone with a bad connection whose request times out halfway, leaving a record half-created. A user who opens the app in two tabs.
Generated code rarely guards against these, because they never come up in a single-user test. It is the main reason an app can go from fine to chaotic within a day of getting its first real traffic.
The same blind spot hides access problems. If you only ever tested as yourself, you never saw what user B can see of user A's data. We cover that in detail in our posts on database rules and login bugs, but the principle is simple: the tool tested as one person, so it only ever proved things for one person.
Things that were fast with 20 rows are slow with 20,000
AI tools often fetch an entire table and then filter or sort it in the browser, because that is the shortest route to making the screen show the right thing. With the sample data the tool created, it is instant.
Three months in, the table has 40,000 rows and every page load downloads all of them. The app gets slower each week, nobody changed anything, and the founder is baffled. If you pay per database read or per amount of data transferred, your bill climbs along with it.
The fix is usually unglamorous: ask the database for only the rows needed, add an index on the columns you search by, and paginate. But you can only fix it once you know it is there, and the preview window will never tell you.
Free tiers have limits that arrive without a warning
Many AI-built apps run on free or starter plans of their hosting, database and email services. That is perfectly sensible for a prototype. The trouble is that each plan has limits, and the app does not announce when it reaches one.
A free database may pause after a period of inactivity, so the first visitor after a quiet week hits an error. A starter email plan may cap daily sends, so the eleventh signup of the day never gets a confirmation. A hosting plan may restrict how long a request can run, so a report that takes 15 seconds to generate works on your machine and times out live.
It is worth reading the limits page of every service you depend on once, before launch. It takes half an hour, and most people never do it.
Errors vanish because nothing is listening
On your machine, an error appears in your terminal or the preview's console. You see it and you fix it. In production, nobody is watching those places.
Many generated apps handle errors by catching them and carrying on. A try/catch block that swallows the error and shows the user a vague "something went wrong" keeps the app from crashing, but it also means you will never hear about the problem. Failed payments, failed email sends and failed saves can all go on for weeks.
This is why the first sign of trouble is often a customer message. A free uptime monitor and an error tracking tool turn that around, so that you find out first and have a line number to start from.
A fix in one place breaks something somewhere else
The last cause is less about launch and more about what happens afterwards. Once real users depend on the app, every change carries risk, and AI-assisted changes carry a particular kind.
You ask the tool to fix a bug on the settings page. It rewrites a shared function to do it, and in doing so changes how the checkout page behaves. There is no test suite to catch it, because AI tools do not usually write one unless asked, and by the time you notice, it has been live for two days.
Deploying every accepted change straight to the live site makes this worse. A separate staging copy, with its own database and its own keys, gives you somewhere to check a change before your customers become the testers.
What to do before the next launch
You will not remove all of these risks, and you do not need to. What you want is to stop learning about them from users.
Start with the three that cost the most when they go wrong: test with two accounts instead of one, confirm every secret and setting is actually present in your live environment, and make sure something will tell you when the app fails. After that, read the limits of each paid or free plan you rely on, and look at how your pages behave with a lot of data in them.
If you would rather have a developer go through it, Vibe Code Guardian's launch-readiness audit checks an app against 137 points across 14 areas. Each finding is confirmed by a person, and you get a readiness score and a ranked list of fixes. The free surface check is a lighter first step that looks at what is publicly visible on a domain you own. It is not a full security audit, so think of it as a quick look from the outside. You can compare the options on the packages page.
And if the app is already live and already misbehaving, start with the logs of whichever service sits closest to the failure. The error is usually sitting there, unread.