DEV Community

Cover image for AI Wrote Most of My App. Real Users Found What It Missed.
Femi Akinyemi
Femi Akinyemi

Posted on

AI Wrote Most of My App. Real Users Found What It Missed.

I'm building Tilzix, an app that turns your website or Instagram into carousels in your own brand. I use AI to write most of the code. I decide what gets built, test it, and own every bug that ships.

It passed my tests. It worked on my phone. Then strangers started using it, and every week they found something the AI and I had both missed.

Here are seven from the last two weeks, with the numbers. None of them were hard to fix. All of them were invisible until a real person hit them.

1. It guessed the brand's Instagram handle from the web address

To put the right @handle on each slide, the code took the first part of the domain:

handle: "@" + host.split(".")[0]
Enter fullscreen mode Exit fullscreen mode

Fine for glossier.com. Then a real customer pasted pos.qwin.co.ke, and their carousel went out with @pos on every slide. Another pasted a site hosted on Railway and got @railway.

I spotted it the same day in my analytics, emailed him, and fixed it that night.

The fix: read the Instagram link the site actually has, and if there isn't one, take the brand's name, not the host's.

const instagram = await siteInstagram(url);           // the link on their own page
if (instagram) brand.handle = `@${instagram}`;
else if (isHosted(host)) brand.handle = `@${slug(brand.name)}`; // web-clipscript.up.railway.app → @clipscript
else brand.handle = `@${mainName(host)}`;                        // pos.qwin.co.ke → @qwin
Enter fullscreen mode Exit fullscreen mode

That one line looked fine to me too. Neither of us asked: what does a real domain look like?

2. "Works on five networks", followed by four

A visitor made a carousel for a video tool. Slide two said "Works on five networks" and listed YouTube, TikTok, Instagram, Facebook.

Threads was missing. My slides allow four points, so the fifth was cut, and the headline still promised five.

Now every list headline is checked. If it promises a number that doesn't match the points shown, the writer has to fix it, by combining points ("Facebook and Threads") or by dropping the number.

3. The "are you human" check inside Instagram's browser

I use Cloudflare's bot check before anything costs money. In a normal browser it's invisible. Inside the Instagram and Facebook apps' built-in browsers it sometimes never loads.

So my page told people to "tick the box". There was no box.

One user in Lagos hit it four times in a row. The code gave up on the first error, even though Cloudflare retries by itself and often passes a second later. Now it waits for three errors, and in-app browsers get a hint to open the page in Safari or Chrome.

4. 887 animations running at once on phones

My home page shows live sample slides. Each one animates. I checked: 887 animations were running at the same time.

That's a lot of work to ask of a phone, for slides nobody could even see.

Now samples only run while they're on screen. It's about 9 animations most of the time.

5. My analytics counted Meta's robots as visitors

I ran a tiny Instagram ad. Day one: 15 visitors. I was excited.

Then I looked at them one by one. 8 of the 15 arrived within the same minute, from Prineville, Forest City, Fort Worth and Luleå. Those are Meta's data centres, checking my link when the ad was approved.

No dashboard told me that. I only saw it because I opened each visitor.

6. One event that ate my analytics plan

A "Love how it looks? Download it" prompt fired an analytics event when a carousel finished playing. The carousel loops. So it fired on every loop.

777 of 1,301 custom events in my account came from that one line, and the plan ran out.

7. The fix that never shipped

After fixing the @pos bug, a new user still got the wrong handle the next morning.

The code was right. But reading websites runs on a separate AWS Lambda, and that hadn't been rebuilt in three weeks. My deploy only updated the main site. The fix was sitting in a file nobody was running.

What I took from it

AI writes the happy path. It's very good at code that works for the example in front of it. It doesn't ask what a Kenyan domain looks like, or what happens inside Instagram's browser, or whether a loop fires an event a thousand times.

Tests didn't catch any of these. Every one passed. The bugs were in assumptions, not logic.

Watching real users did. I read my analytics one visitor at a time. Not the totals. The timeline: they pasted this, waited this long, tapped that, left here. Almost every bug above came from one person's trail.

So now my loop is: ship, watch five real people use it, fix what they found, repeat. AI makes the fixing fast. It doesn't make the finding happen.

If you want to see what the app does now, it's at tilzix.com: paste a website and you get a carousel in about a minute. Each of these was sorted within a day of someone finding it.

What's a bug AI wrote for you that only a real user found? I'd love to hear yours.

Top comments (16)

Collapse
 
ayushdhanani369 profile image
Ayush Dhanani •

I build Aladdin, a job agent. Your @pos bug is the one that stuck with me. The code guessed a handle from the domain instead of reading the link on the page. I hit the same shape in job applications. An agent would carry a conclusion from one form into the next one. Now a fresh worker reads the actual page and form for each application. If it cannot read a form, or an answer is not covered by the user's own facts, it asks the user instead of guessing. Your loop is the right one. Ship, watch five real people, fix what they found.

Collapse
 
femi_akinyemi profile image
Femi Akinyemi •

Funny how it's the same bug in a totally different app. Guessing instead of reading what's in front of you. I like your "ask instead of guess" rule. I did the same with the slide writer. If it can't read the page, it asks the person for one line about the post instead of making something up. Do your users mind being asked?

Collapse
 
ayushdhanani369 profile image
Ayush Dhanani •

Not much. The ask is short and only comes up when the form is unreadable or the answer is not in their own facts. A wrong guess costs more than one quick question. Your slide writer has the same trade-off. One line about the post beats a made up slide.

Collapse
 
mateo_ruiz_6992b1fce47843 profile image
Mateo Ruiz •

One pattern I’ve seen with AI-built applications is that the failures often come from assumptions that were never really tested, rather than from obviously broken code. The Instagram handle issue and the stale Lambda deployment are good examples: one is an input assumption, the other is an operational gap.

At IT Path Solutions, when working on AI-generated applications, we pay particular attention to these boundaries: real-world input variations, third-party browser behavior, background services, and whether the deployed component actually contains the latest fix. Passing tests only tells you that the tested paths work.

I also like your approach of watching individual user journeys instead of relying only on aggregate analytics. A single session can reveal exactly where an assumption breaks. Real-user feedback is effectively another layer of testing, and often the one that exposes the gaps AI-generated code leaves behind.

Collapse
 
femi_akinyemi profile image
Femi Akinyemi •

Yes, that split is a good way to put it. The handle bug was a wrong guess about the input. The Lambda one was me not knowing what was actually running. The second one scares me more, because the code looked fixed and I'd have sworn it was. Thanks for reading.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

the lambda that never got rebuilt is the one that stings. the code was right and the deploy was the bug.

Collapse
 
femi_akinyemi profile image
Femi Akinyemi •

Yes. The code was fine the whole time. I was looking in the wrong place.

Collapse
 
alexshev profile image
Alex Shev •

Real users are excellent at revealing the assumptions hidden by a smooth demo. A useful habit is to turn each surprise into a regression scenario with the observed input, expected behavior, and deployment condition. That lets product feedback improve the system rather than becoming an anecdote after the fix ships.

Collapse
 
__d03cc26214f3 profile image
איתמר וענונו • • Edited

Number 5 hit me the same way. I'm not a programmer, I built my app with Claude Code, and the day I posted it in a few Facebook groups my stats page showed about 176 clicks. When I looked at the raw events, about 150 were Facebook's link scanners: bursts in the exact minutes each post went up, a new visitor id every time, a plain Android user agent, and near-identical counts per group. The few real people mostly came through the Facebook in-app browser, and later, outside the bursts. Since then I judge a channel only by those signals and by actual installs, never by raw clicks. Your #3 is a good catch too, in-app browsers break more things than people expect.

Collapse
 
femi_akinyemi profile image
Femi Akinyemi •

150 of 176 is wild. Mine was smaller but the same shape: a burst in the same minute, a new visitor every time. I've ended up doing what you do. I only count someone once they actually make something. Is your app live? I'd like to see it.

Collapse
 
alexcodebytes profile image
Oleksandr •

The host.split('.')[0] bug is an absolute classic—AI almost always assumes every URL on the internet looks like brand.com. The moment a real user pastes a .co.uk, .com.au, or a *.vercel.app / *.railway.app staging link, everything falls apart unless you actually use a Public Suffix List parser (tldts / psl).
Also, #7 ('The fix that never shipped' because the background worker/Lambda wasn't redeployed alongside the main app) hurts because we've all been there. Great, honest post—watching individual user sessions beats staring at aggregate charts every time.

Collapse
 
femi_akinyemi profile image
Femi Akinyemi •

You're right. I handled the common country endings and about 40 free hosts by hand, which works for now but won't cover everything. A proper suffix list is the cleaner fix. Might swap to tldts. And yes, #7 hurt. Thanks for reading.

Collapse
 
alexcodebytes profile image
Oleksandr •

Makes total sense—hand-rolled lists are great to unblock a launch fast, and tldts takes about two minutes to drop in whenever you're ready to retire that maintenance list (it handles private suffixes like .up.railway.app and .vercel.app out of the box too). Best of luck with Tilzix—love the transparent build-in-public logs!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.