AI coding assistants were adopted to make engineers faster, and for individual engineers they work. The trouble shows up one step later. Faros AI's telemetry from more than 10,000 developers found that developers on teams with high AI adoption completed 21% more tasks and merged 98% more pull requests. Pull request review time rose 91% and average pull request size grew 154%, and the gains did not show up in company-wide delivery metrics.

More code is reaching the point where someone has to decide whether it is safe to ship. If quality assurance still works as a gate at the end of the line, that is where the speed disappears.

Most discussion of AI in software testing is about generating more tests. The bigger change is structural. This piece is part of our guide to how AI is changing software delivery, and it covers what happens when QA becomes a continuous control system: testing sized to risk, AI-generated tests that have to earn their place, and human review spent where it changes the outcome.

Why the Final Gate Stops Working

A final QA gate was designed for code written at human speed. Review capacity, regression cycles and release sign-off were all sized for that volume. AI changes three things at once.

  • There are more changes. Each engineer opens more pull requests, and every one of them queues for the same reviewers and the same test environments.
  • The changes are bigger. Generating 400 lines takes about as much effort as generating 40, so pull requests grow. Large pull requests get skimmed instead of read.
  • Nobody fully wrote the code. The author prompted it, read it and accepted it. That is a different level of understanding from writing it, and reviewers can no longer assume the author has thought through every edge case.

Security makes the gap concrete. Veracode tested code from more than 100 large language models and found that AI-generated code introduced risky security flaws in 45% of tests. Larger, newer models did no better. A gate that depends on a person spotting those flaws in a 1,000-line diff is depending on luck.

What Changes When QA Becomes a Control System

A control system checks output continuously and corrects course before small errors add up. Applied to software quality, that means three things: checks run on every change, the depth of checking depends on the risk of the change, and what the checks find feeds back into how code is written and reviewed.

Final GateControl System
When checking happensBefore releaseOn every change, from the first commit
What sets the depth of testingThe release calendarThe risk of the change
Where human review goesSpread evenly across everythingConcentrated on high-risk changes
Role of AIWrites code fasterWrites code, drafts tests and pre-reviews changes, inside rules people set
What gets measuredTest pass rateEscaped defects, review load and change failures by risk tier

Sort Changes by Risk Before You Test Them

Most teams apply the same review and test process to a typo fix and a payment change. At AI volumes, that spreads attention so thin that risky changes get the same quick look as trivial ones. Risk tiers fix this by deciding in advance how much checking each kind of change needs.

TierTypical changesAutomated checksHuman review
LowCopy, styling, internal tools, test-only changesBuild, lint and unit testsSpot checks
StandardFeature logic behind a flag, non-critical APIsUnit, integration and contract tests, plus coverage on changed linesOne reviewer
HighPayments, authentication, permissions, personal dataFull regression, security scanning, dependency checks and performance testsTwo reviewers, including the code owner
CriticalProduction data migrations, infrastructure, billing rulesAll of the above, plus a staged rollout and a rehearsed rollbackA named approver

The tiers above are an example. Set your own from your incident history.

Assign tiers by where a change lands, not by who made it. Code ownership files, service boundaries and directory paths can do most of the work automatically. AI can suggest a tier for an ambiguous change, but people own the rules, and anyone should be able to move a change up a tier when in doubt. The aim is to put human attention where a mistake would be expensive and let test automation carry the rest.

Make AI-Generated Tests Earn Their Place

AI writes tests quickly, which is useful and risky in equal measure. A generated test can compile, pass and still check nothing. It can mirror the implementation so closely that it confirms a bug instead of catching it. It can pass on one run and fail on the next. Agentic QA tools that explore an application and write tests on their own raise the volume further, which makes filtering more important.

Meta's work on TestGen-LLM is one of the clearest industrial examples of filtering done well. In Meta's published evaluation on Instagram's Reels and Stories products, 75% of the tool's generated test cases built correctly, 57% passed reliably and 25% increased coverage. Candidates that failed the filters were discarded automatically, and during test-a-thons on Instagram and Facebook, engineers accepted 73% of its recommendations for production. The value came from the filters as much as from the model.

Four filters are worth copying:

  1. It passes every time. Run each new test several times before accepting it, so flaky tests never enter the suite.
  2. It covers something new. A test earns its place by covering changed lines or behavior that was not tested before.
  3. It fails when the code is wrong. Mutation testing introduces small, deliberate faults into the code. A test that still passes against broken code is decoration, whatever the coverage report says.
  4. A person can maintain it. If the team cannot tell what a test is checking, it will be deleted or ignored the first time it fails.

Keep people writing the tests that capture intent: acceptance criteria, business rules, regulatory requirements and the edge cases customers actually hit. AI adds breadth quickly. It cannot know which behavior matters most to the business.

Spend Human Review Where It Changes the Outcome

Review is now the scarce resource, so protect it.

  • Keep changes small. Set a size limit for pull requests and split anything larger. AI makes big pull requests cheap to create and expensive to review.
  • Let AI do the first pass. An automated pre-review can summarize what changed, flag risky patterns, list new dependencies and confirm that tests exist. The reviewer starts with a map instead of a wall of code.
  • Give reviewers a checklist for AI-written code. Does the change do what the ticket asked, and nothing more? Are error paths handled? Did it add a dependency nobody vetted, or duplicate code that already exists? Does it touch secrets, permissions or personal data?
  • Keep ownership clear. The engineer who submits a change owns it, however much of it a tool wrote.

Adding QA engineers, for example through Offshore Engagement, can shorten the queue. It works best once the risk tiers decide where their time goes.

Measure the Control System, Not Just the Code

A test pass rate tells you the suite ran. It does not tell you whether quality is under control. Track these instead, broken down by risk tier:

  • Escaped defects: problems found in production that the checks should have caught
  • Change fail rate: deployments that need immediate intervention
  • Review time and pull request size
  • Flaky test rate
  • Mutation score for your most critical modules

Three warning signs mean the control system is passing work through without checking it: review time rising faster than throughput, coverage rising while escaped defects stay flat, and large pull requests getting approved quickly. Our guide to DORA metrics when AI makes speed the easy part covers how these signals fit with delivery metrics.

A 30-Day Starting Plan

  1. Week 1: Take a baseline. Record escaped defects, change fail rate, review time, pull request size and flaky tests for one product or service.
  2. Week 2: Define risk tiers. Agree three or four tiers, map them to code ownership and paths, and decide the checks and reviewers for each.
  3. Week 3: Filter AI-generated tests. Add repeat runs and coverage checks on changed lines to the pipeline, and run mutation testing on one critical module.
  4. Week 4: Protect review. Set a pull request size limit, switch on automated pre-review and compare the results with your baseline.

On The Pivot, tiers and checks are set in the Design stage, before the build begins. This is how our software quality assurance work is structured.

Frequently Asked Questions

Will AI Replace QA Engineers?

It changes the job. Less time goes into writing and running scripts, and more goes into designing the control system: setting risk tiers, deciding which tests matter, judging AI-generated tests and investigating what escapes to production.

Should AI Review AI-Written Code?

As a first pass, yes. AI is fast and consistent at summarizing changes and flagging known patterns. For high-risk and critical changes, a person who understands the system should sign off.

What Is Mutation Testing?

Mutation testing introduces small faults into the code, such as flipping a condition, and reruns the tests. If the tests still pass, they were not checking that behavior. It is one of the most reliable ways to tell whether AI-generated tests are doing real work.

How Much Test Coverage Is Enough?

There is no single right number. Set expectations for coverage on changed lines by risk tier: modest for low-risk changes, strict for payments, permissions and personal data.

Find Out Where Your Checks Are Thinnest

If review queues are growing faster than output, start with a QA control review. We map your changes to risk tiers, show where AI-generated tests add coverage without adding protection, and set a baseline to measure against. Book a QA control review or see how we approach software quality assurance.