Industry Insights

When AI-generated code breaks production, can you trace who approved it?

15 minutes to read

Updated on: December 1, 2026

Agentic coding makes it harder to say who is accountable when code breaks. A developer merges a pull request a coding agent drafted, a reviewer approves logic they didn't write, and QA validates the change against the tests chosen for it. That's three people at three stages, and none of them may have enough context to explain what they actually approved.

When AI-generated code breaks production, accountability tends to move up the org chart. In the CloudBees State of Code Abundance 2026 report, 46% of enterprise technology leaders said responsibility falls to the CTO or VP of Engineering. Only 12% have a dedicated AI governance team, and just 7% hold the developer who shipped the pull request accountable.

Whoever ends up owning the failure has to work out what was reviewed, which tests ran, and who approved the version that shipped. Those records are often scattered across tools and teams, which makes it hard to reconstruct how the change was cleared for release.

Why no one wants to own AI failures 

Owning an AI failure means vouching for code no one fully wrote, and few people want to do that. Among the enterprise technology leaders surveyed for the CloudBees State of Code Abundance 2026 report, 81% said their organizations had seen an increase in production issues attributed to AI-generated code. But review processes aren't always enforced: 93% reported having a formal process for reviewing and releasing AI-generated code, but only 56% said they always enforce it.

AI has made it possible to produce far more code, far faster, than review and testing processes were built to handle. That puts more pressure on the work that follows code generation, particularly the checks and approvals required before a change reaches production.

When something does break under these conditions, there's still a pull request author and often a record of approval. But those records don't necessarily show which checks were completed or whether release requirements were met. Blame can drift upward to engineering leaders, who are expected to address the failure. Without a clear record of what was checked, no one can show their part of the release was sound, so blame drifts upward to engineering leaders by default.

Why role-based accountability isn’t enough anymore

Release reviews have always been hard to get right. As organizations grow, the volume of code moving through delivery outpaces what any group can review closely, making it harder to say who is accountable at each stage. 

Agentic coding adds to that pressure because developers, reviewers, and QA engineers now validate more work at a faster pace, and much of it was first drafted by an agent. They can't always explain the reasoning behind that work the way they could with decisions they made themselves.

Restoring accountability starts with making sure each role can explain its decisions and point to supporting evidence:

  • The developer should be able to point to why they proposed the change.
  • The reviewer should be able to point to what they specifically checked and why they approved it.
  • QA should be able to point to what they validated and what the tests they ran were built to catch.
  • Release management should be able to point to what shipped, when, and on whose approval.

But the evidence each role provides only establishes meaningful accountability if it’s connected to the release that shipped. Everyone can do their jobs correctly and still miss a failure that only shows up when their pieces interact. Accountability by role is necessary, but it isn’t the same as visibility across the whole release.

How to make ownership more traceable 

The evidence behind a release decision can be spread across several tools:

  • One shows the build passed.
  • Another shows a PR was approved.
  • A third shows a test pass rate.
  • A fourth shows a deployment went out clean.
Software development life cycle: CI build, code review, QA testing, deployment

Each of those signals can be true, and something can still fail in production because the individual checks don’t necessarily cover how different components interact.

A config change is a good example. Say a timeout value or a default gets updated. It can pass review and testing cleanly in the service it’s made in, and still break a downstream service that assumed the old value would hold. No single tool’s signal was necessarily wrong. The failure exposed a dependency that the individual checks didn’t cover.

Investigating that failure requires understanding how the services interact. Engineering leaders also need to establish how the change was approved for production and what evidence supported that decision.

CloudBees Unify is the control plane above existing delivery tools, including Jenkins®, CloudBees CI, and GitHub Actions, without requiring teams to migrate their software delivery pipelines. As agentic coding sends more changes through those pipelines, keeping track of security checks and release approvals across different tools becomes harder. Engineering leaders need a way to trace how each release was authorized.

With staged release gates and named approvers, CloudBees Unify helps teams document release decisions. It also brings findings from supported security scanners into one view and generates downloadable audit reports containing release approvals, deployments, and supporting evidence. When something breaks, engineering leaders can use that record to establish who authorized deployment and what evidence supported the decision.

Request a demo to see how CloudBees Unify governs your software delivery pipeline

‍

Subscription confirmed

You'll now receive our latest news, releases, and event updates by email.