Sitemap

Member-only story

I Keep Flagging That Our AI-Generated Code Is Getting Worse. I Keep Being Told I’m Missing the Point.

Our velocity metrics have never looked better. Our on-call incidents are getting harder to explain. I have been trying to connect those two things for eight months.

7 min readSep 29, 2026

--

Press enter or click to view image in full size
A software engineer kept flagging quality issues in AI-generated code. Leadership cited velocity. Then the 2am production incident happened.
Photo by Shane Rounce on Unsplash

The post-mortem was the moment I stopped being able to let this go.

We had an incident on a Tuesday night. A race condition in our payment processing service that caused duplicate charges for a window of about forty minutes before our on-call engineer caught it and rolled back. About three hundred transactions were affected. The resolution took four hours. The customer support queue was still clearing two days later.

I had flagged the race condition in code review three weeks earlier.

Not in a vague, cover-your-bases way. Specifically. I had written a comment on the exact function where the issue lived, explained the scenario in which two concurrent requests would produce the duplicate, and suggested a locking mechanism that would prevent it. The comment had been marked resolved. The fix had not been made. The code had been merged and shipped.

--

--

Adonis
Adonis

Written by Adonis

2M+ Views on Medium ✅ | Software Engineering | Scalable & High-Performance Systems | Real-World Software Guides by Engineer @Target Tech, Ex-DRDO