Launch offer: the first 1,000 users get Settl free for a year* Claim your spot
settlbuilding in public

5 things your AI-built app does that you'd never catch

The short version

Five failures that produce no crash, no error and no alert, which means monitoring will never surface them. The most serious was one user being able to retrieve another user's contact details. It threw zero exceptions and the app looked completely healthy.

The rest: passing locally and failing in production because your own machine is more forgiving, a cleanup command silently pointing the app at your own laptop, database updates being skipped rather than failing, and correct AI answers being dropped on the floor while being unpacked.

None of these ring an alarm. You only find them by going and looking, so here is exactly what to look for.


1. Your app shows one person somebody else's information

What happened to me: before launch I ran a check asking whether one person could ever see another person's data. One lookup was quietly handing back strangers' phone numbers to anyone who asked. Zero errors, ever. If I had waited for something to break I would have found out from a news article.

Why nothing catches it: the code is working exactly as written. It is answering the question it was asked. It is just the wrong question.

The fix: a test that logs in as one person and deliberately tries to read another person's things. It should fail if anything comes back.

Go through every way my app can return information about a person and write a
test for each one that signs in as user A and tries to read user B's data. The
test must fail if anything comes back. Start with anything that looks a person
up by phone number, email, username or id, and tell me which of these has no
such test today.

2. It passes every check on your machine and fails when you release it

What happened to me: three separate times I had to make a change whose only purpose was to get the release to build, because my own machine was running looser rules than the real thing. Everything was green locally right up until it was not.

Why nothing catches it: the thing doing the checking is not the thing doing the releasing.

The fix: run the exact release command before you release, not the friendly local one.

Compare the settings my app builds with locally against the settings it builds
with when I release it, and list every difference. Tell me specifically what
currently passes on my machine that the stricter release build would reject.
Then give me one command I can run before pushing that reproduces the release
build exactly.

3. One cleanup command points your app at your own laptop

What happened to me: a routine cleanup command wiped the cached settings. The next build silently fell back to a default address, which was my own computer. It worked perfectly for me and was completely broken for everyone else.

Why nothing catches it: it works on your machine. That is the whole failure. Your machine is the one place the wrong answer is the right answer.

The fix: make the real address the default, and make pointing at your own machine the thing you have to ask for on purpose.

Show me what address my app talks to and where that value comes from in each
build mode. Tell me what it falls back to if the setting is missing or gets
cleared. If that fallback is my own machine, flip it: make production the
default and make local an explicit opt-in flag, then show me the change.

4. Database updates get skipped, not failed

What happened to me: the tool that applies database changes works from a list. My list had stopped being updated while the actual change files kept arriving, and two of them had been given the same number. It skips what is not on the list. Silently. No error.

Why nothing catches it: skipping is not failing. Nothing threw, so nothing reported.

The fix: treat the list as code that gets reviewed, and write every change so that running it twice is harmless.

Check whether every database change file in my project is actually listed in
whatever file or table decides which ones get applied, and show me any that are
missing or share a number with another. Then tell me which of my changes would
break if they ran twice, since safe-to-repeat is what makes this recoverable.

5. The AI gives the right answer and your app drops it

What happened to me: an overnight check found that nearly one in three AI actions was failing. The AI itself succeeded every single time and gave the correct answer. My own code was then failing while unpacking it, and throwing errors nobody was catching.

Why nothing catches it: you are recording success at the moment the response arrives, not at the moment the user gets what they wanted.

The fix: move the definition of success to the end of the chain, and report failures in the unpacking as loudly as failures in the request.

For every AI feature in my app, show me the exact line where I record it as
successful. I suspect I am recording success when the response arrives rather
than when the user actually got what they asked for. Show me each place that
gap exists, and add error reporting to the code that parses and acts on AI
responses so those failures stop being silent.

Steal this for your app


Part of the "What It Cost Me" series. Every item above is something that actually happened while building my app.

Get the next one in your inbox