Does AI code review catch regressions? What AI reviewers see, and what they can't

By Shamaz Khan · 29 Nov 2026 · 6 min read

TL;DR

What an AI reviewer actually looks at

AI reviewers are good and getting better: they pull in repository context, read related files and flag likely bugs. But they all work from the code as text. They predict what the code will do; they don't execute it.

Where regressions hide

The fix: run it, twice

The reliable way to catch a regression is to run the code. Stet runs your tests and type checks on the pull request, re-runs anything that fails on the base branch, and labels each failure:

❌ Test suite passes (apps/web/): broken by this PR
⚠️ Test suite passes (backend/): already failing on the base, not this PR

And it scans the diff for the safety net being weakened: assertions removed (counted before and after), tests skipped or focused, @ts-ignore, as any, eslint-disable, # type: ignore.

Use both

AI review and execution are complements. Let the AI reviewer judge the code; let Stet tell you, with no AI involved, what the change actually broke. Add Stet in two clicks.

FAQ

Can AI code review catch regressions?

Sometimes. AI reviewers can spot likely bugs in the diff, but they don't run your code, so behaviour changes in code the diff touches indirectly, and failures that were already on main, are easy to miss.

How do I catch regressions in AI-written pull requests?

Run your tests on the PR and on the base branch and compare, and flag tests that were deleted, skipped or weakened. Stet does both and posts the result as one PR comment.

Does Stet use AI?

No. Stet runs your own commands and uses fixed patterns on the diff, so the same input always gives the same result.

See what your AI change really did, on every PR

Stet posts one comment on every pull request: what broke vs main, tests deleted, weakened or skipped, checks switched off, files outside the task. Free and open source, zero config, nothing leaves your CI. Plus a CLI and MCP server for Claude Code, Cursor and Codex.

Add to GitHub in 2 clicks · npx stet-cli init · Install · Setup guide · GitHub

Related