Great point. AI can write code faster, but protecting production requires human judgment, proper testing, security checks, and continuous monitoring. Writing code is only the beginning; building reliable software is what truly matters.
AI can write code faster. Who protects production?
19 Comments
For releases that change stored data or message formats, I'd prioritize an explicit upgrade-downgrade test. In staging, run old and new versions together, exercise representative reads and writes, then roll back and check that the old version still handles the data written by the new one. A rollback command succeeding doesn't establish that compatibility.
Amazon's rollback-safety example describes this test and splitting incompatible changes into safe phases.
AI-assisted reply on behalf of Lisar Connect.
Please log in to add a comment.
I'd pick observability. The other four depend on it.
Staged deployments only work if you can tell whether stage one is healthy. Automated rollback needs a signal to trigger on. Rate limits and retries need visibility into what's actually failing. Without good telemetry, you're just shipping faster and finding out later.
Human review is the one that won't scale. Faros AI data shows teams with high AI adoption merged far more pull requests, but review time rose sharply. Reviewers become the bottleneck, so more of the safety work has to shift to automated signals in production.
AI-generated code also tends to fail in plausible ways. It passes tests, reads cleanly, and then misbehaves under real load or odd data. Those problems don't show up in review. They show up in latency, error rates, and behavior drift after deploy.
So I'd treat observability as the foundation and build the other safeguards on top of it. The question to ask before any release: how fast will we know if this is wrong?
@[sibasispadhi] Partly, yes. The earlier you catch it, the cheaper it is, so push as much as you can into those phases.
Unit tests catch logic errors in seconds. Integration tests catch broken contracts between services in minutes. Both should run on every change.
But they have a limit with AI-generated code. When the same AI writes the code and the tests, the tests often confirm the code's own assumptions. Everything passes, and it's still wrong. The failures I worry about most are the ones tests rarely cover: odd production data, real load, slow dependencies, and config differences between environments.
A few things move more of that earlier:
Write tests from the spec, not from the code. A human should own the test intent, even if AI helps write them.
Property-based and contract tests. They probe edge cases nobody thought to list.
Load tests against production-like data in staging. This catches the "works on my fixtures" problem.
Mutation testing. It shows whether your tests would notice if the code were wrong.
So I'd think of it as layers, each with a different speed: seconds for unit tests, minutes for integration, hours for staging, and a canary release plus telemetry for whatever slips through. Tests shrink the window, and observability covers what they miss.
Please log in to add a comment.
I agree that observability is essential, especially once a change reaches production.
In our own work, though, we’ve been trying to move part of the safety boundary earlier.
With AI-assisted development, we try to separate implementation from verification, preserve a baseline, deliberately falsify important assumptions before deployment, and keep our claims no broader than the evidence allows.
A passing test is not a production verdict by itself.
This matters because some of the hardest failures are not crashes. Code can run, tests can pass, and telemetry can still look normal while the semantics are wrong.
So we’ve started thinking about production safety in two parts:
- Before production: can we design the process to prove us wrong?
- After production: how quickly can reality prove us wrong?
We are further along on the first layer today. The second — production-wide observability, staged deployment, and rollback — is still something we are building out.
As AI increases the rate of software change, I suspect both layers become necessary.
@[sibasispadhi] Yes — absolutely. Many of the tests are AI-assisted too.
That is exactly why we don’t treat a green test suite as independent proof by default.
We try to anchor verification in things the test-writing agent cannot simply redefine: frozen baselines, runtime receipts, preserved artifacts, and semantic mutations that the existing tests must catch. Then we run a separate audit pass over the source and evidence.
It still isn’t perfect independence. If the builder and verifier share the same model or workspace, they can share the same blind spots. We treat that as a real limitation and keep the claim narrow.
So the idea is not “AI tests AI, therefore it’s safe.”
It’s closer to: AI can help write both the code and the tests, but the process still needs constraints capable of proving both of them wrong.
Please log in to add a comment.
This entire premise misses the point so profoundly it's almost adorable.
"AI can write code faster. Who protects production?"
The only "protection" you're discussing here is a band-aid for systemic bloat and abstraction-induced ignorance. Observability, staged deployments, automated rollbacks – these are all post-hoc reactions to a fundamental lack of transparency and control. You're trying to contain a fire in a building whose blueprints nobody understands anymore.
AI writing code faster isn't the problem. The problem is that modern production systems are so grotesquely complex and opaque that nobody, let alone an AI, can actually predict their behavior when touching the kernel. Your frameworks, your runtimes, your bloated standard libraries – that's the "black box with a changelog" that AI is just filling with more code. It's not more changes reaching production that's dangerous; it's more changes whose actual execution path is unknowable reaching production.
The real safeguard isn't another layer of monitoring or a faster rollback. It's transparency down to the instruction level. It's using tools where you know precisely what instruction hits the CPU, what memory is mapped, and which syscall is executed. It's about writing systems that don't pull in a hundred megabytes of unknown dependencies just to say "hello world."
Until you can point at any line of code and confidently state what it's actually doing on the metal, no amount of AI-generated velocity or "decision-safe delivery" is going to save your production. It's just going to let you fail faster, with prettier dashboards.
Please log in to add a comment.
It is important to involve humans in the development and deployment staging process. There may be issues caused by vibe coding that are hidden deeply and will not be discovered until proper reviews have been performed by humans against the use cases, requirements, and business intent for production. That is why people raised concerns when vibe coding solved coding efficiency, the bottleneck of software development was shifted from coding to validating.
It is hoped that the future SI will close this gap. At the moment, however, it is crucial that humans be involved in the process of bringing the product to market.
Please log in to add a comment.
AI can make implementation dramatically faster, but it doesn’t remove the responsibility of understanding what reaches production.
For me, the important shift is that validation becomes more important than generation. Good tests, observability, staged releases, rollback, and human review all matter — especially when AI can produce both the code and the tests around the same assumptions.
The real question is no longer just “how fast can we ship?” but “how quickly can we prove a change is wrong before it causes damage?”
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
Currently a Staff Software Engineer at Walmart Inc. USA, where I spend my time on how distributed systems actually behave under production pressure: latency spikes, cascading failures, cost amplification, and automation you can't fully trust.
I write about Agentic AI in microservices, performance engineering, and FinTech-scale system design — focused on repeatable lessons from real production systems, not theoretical patterns.
19+ years across Walmart, IBM, and AT&T platforms. Show less
More From sibasispadhi
Related Jobs
- Sign Production Layout TechnicianPlattsburgh Creative Signs, LLC · Full time · Plattsburgh, NY
- Audio & Video Production DeveloperO'Reilly Auto Parts · Full time · Springfield, MO
- Head of Digital Production SystemsABB E-mobility · Full time · Italian Republic
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!