r/RedditEng • u/s9g12 • 1d ago
We Let AI Approve PRs at Reddit. Here’s What Happened.
Written by Natalie Swan, Senior Software Engineer, Developer Experience
Code review helps ship better code. Too often, it also makes engineers wait.
At Reddit’s scale, the time spent waiting for reviews adds up, especially as AI accelerates how quickly code is written. A documentation fix, dependency bump, or test-only PR competes for the same reviewer attention as a risky production change. That bottleneck gets even worse when a change crosses team boundaries.
So we started asking the obvious but uncomfortable question:
What if some pull requests didn’t need another human’s approval?
Building an AI reviewer that gives useful feedback is difficult enough on its own. Giving it approval authority raised another set of concerns, since we worried about approving the wrong change, weakening code ownership, and discovering too late that our definition of “low risk” was wrong.
Those were useful fears, and they shaped the system we built. From the start, we put strict limits on what can be auto-approved and defined clear rules for when a pull request still needs a human reviewer.
Today, our AI code review system can submit a real GitHub approval when a PR meets a set of safety and ownership rules. Over 30% of all PRs at Reddit get auto-approved, and those changes merge about 10-20x faster.
What started as an uncomfortable idea quickly became part of everyday development.
From feedback to approval
Meet the review team: three services that review changes, make the findings available to engineers, and apply approval policy.
Snoofactor, our AI code review engine, analyzes the diff, provides feedback, and submits the GitHub review as a bot user. It also has access to rich Reddit-specific context, including internal docs and codebase rules.
Diffit, our code-review interface, delivers Snoofactor’s comments alongside the code and provides an AI-powered chat for asking questions about the implementation, the review comments, or investigating CI failures.
Code Lifecycle, our PR policy engine, evaluates
REDDITOWNERSto decide which requirements that review satisfies.
Engineers can read AI code review comments in Diffit, address them, and request another review. If the updated PR has no outstanding comments and is low risk, it gets an automated approval.

Automated review across our internal tools: Snoofactor evaluates the pull request, Diffit manages the feedback loop, and Code Lifecycle enforces REDDITOWNERS before an engineer can merge.
A PR can touch files owned by several teams, so we need to track whose approval each change requires. We built REDDITOWNERS as an extension of CODEOWNERS to request reviews from the relevant owners.
That same ownership policy determines where an automated approval counts. In repositories that have enabled auto-approval, Snoofactor’s approval can satisfy the ownership requirement for files the author already owns. If the PR also changes another team’s files, it will still require the other team’s approval.
Notably, auto-approval does not equal auto-merge or auto-deploy. We kept merging as a separate decision so authors retain control over when their changes ship.
A real PR that got auto-approved
Let’s take a look at a simple PR that shortens messages explaining why a human review was required. The code, tests, and documentation were updated together, but the change affected only the wording of those messages. It did not change any sensitive logic.

PR in Diffit: Snoofactor reports low risk and complexity, and the ownership gate is clear. Ready to merge.
After reviewing commit 1337c0d, Snoofactor submitted anAPPROVEDreview 38 seconds after the PR was opened, with a low-risk assessment and no blocking comments. Since the author owned the changed paths, she can merge the PR without looping in other humans.

The same PR in GitHub: Snoofactor has the authority to approve PRs, with ownership enforced.
Although an automated approval satisfies one review requirement, every pull request is still gated by CI, branch protections, and ownership rules before it can be merged. Changes covered by our SOX controls are disqualified from AI sign-off.
A small change to a file you don’t own
Not all small changes are eligible for auto-approval. The author, repository, and changed paths must meet the conditions before getting the green checkmark.
In this example, because the author didn’t own the paths she changed, a low-risk PR was held up waiting for human approval.

PR in LLM-Platform: Snoofactor reports low risk and complexity, while the ownership gate still requires a human.
In both examples above, Snoofactor labeled the changes as low risk. So how do we actually decide what’s safe to approve?
Teaching our AI reviewer to say LGTM
To see how an automated approval works in practice, let’s trace the message-wording pull request through Snoofactor’s evaluation pipeline. Starting from a specific head commit and based on the contents of the diff, Snoofactor selects relevant reviewer personas, which are specialized prompts scoped to concerns like correctness, privacy, or repository conventions, and gathers their findings.
Personas assign categorical risk and complexity ratings (such as low, medium, or high) to their findings and add them as comments attached to specific lines in the diff. Snoofactor then conservatively takes the highest risk and complexity rating across all reviewer personas so that one cautious reviewer cannot be averaged away by an optimistic one.

Evaluating commit 1337c0d*: General and GoStyle ratings are combined using the highest label before deterministic policy checks submit an approval.*
Those aggregated labels are then passed to deterministic policy code, which decides whether the evidence actually qualifies for sign-off. A pull request is eligible only when it satisfies every gate:
Model ratings: Low risk and low-to-medium complexity.
Code findings: Zero medium- or high-severity issues, while minor, low-severity suggestions are surfaced without blocking approval.
Policy checks: No author, repository, SOX compliance, or sensitive-path restrictions requiring a human reviewer.
The model supplies evidence, but the policy decides whether that evidence qualifies for approval.
Finally, Snoofactor records a formal merge disposition (APPROVE, REQUEST_CHANGES, or NEEDS_HUMAN) alongside machine-readable reason codes so downstream tools can explain the next step without scraping prose. When a blocking finding triggers REQUEST_CHANGES, Snoofactor publishes its comments and withholds approval rather than imposing a native GitHub veto that would stop a human owner from merging the change.
What it takes to trust an approval
Rather than trusting AI approvals just because the comments sounded convincing, we built confidence by seeing how engineers used the feedback in Diffit.
Diffit displays each finding beside the relevant code with its severity, confidence, and proposed change, letting engineers accept, edit, or dismiss AI suggestions during a review.

PR in Diffit with medium risk and complexity and a medium severity AI comment

The same review and AI comment in GitHub
Engineers use the AI comments to revise the PR and request another review. A cycle or two can turn a PR with blocking findings into one eligible for automatic approval without having to loop in another human. Behind the scenes, engineers’ decisions to accept, edit, or dismiss AI suggestions helped us measure which findings were useful and pinpoint where Snoofactor needed to improve.
Because this revision loop relies on authors pushing new commits, older reviews quickly go stale. To prevent an approval for older code from applying to newer changes, Snoofactor writes the reviewed commit SHA directly into the review-body metadata and checks that it still matches the live head right before publishing. Whenever a new push triggers another review, any previous bot approvals are automatically dismissed.

PR lifecycle: Snoofactor evaluates a pinned commit, Diffit manages fixes and re-reviews, and Code Lifecycle enforces ownership and branch protections before an author can merge.
As the workflow above illustrates, getting the model to say “approve” was only one milestone, because every service consuming that decision still had to agree on what it meant across the pull request lifecycle. Safely automating that decision required thoroughly testing every handoff shown in the diagram so that authors always know why a human reviewer is required, which specific revision an approval covers, and what action they need to take next.
Even with those safeguards in place, we rolled out auto-approval gradually rather than enabling it everywhere at once. Starting with a narrow set of repositories let us watch how engineers interacted with bot approvals, catch edge cases in review state and labeling, and verify that reverts and incidents stayed flat before we expanded eligibility.
So, did it actually help?
So far, so good: AI-approved PRs merge about ~10-20x faster while the incident counts stay about the same.
As auto-approval became a routine part of development, the share of merged PRs with Snoofactor as their only approver grew from 0.5% in mid-June to 30.4% in the latest week shown, which means that more than 30% of merged PRs did not require a human review.

Orange: Snoofactor only. Blue: Snoofactor plus another user. Both are weekly shares of merged PRs.
Separately, as agentic review expanded, p90 time to first review fell from 19 hours in Q2 to under one minute in Q3.

PRs receiving a Snoofactor approval merged in a median of 40 minutes after becoming ready for review, compared with 11 hours for human-only approvals.
As adoption grew, Reddit-wide public incident counts remained broadly stable through October, and incidents that reached SEV0 or SEV1 showed no upward trend either.

Monthly public incident volume and SEV0/SEV1 trends across Reddit, January through October 2026
The company-wide counts don’t isolate the effect of auto-approval, but they give us useful context as we continue monitoring quality alongside speed.
Thinking about trying this yourself?
If you’re considering auto-approval for your own team, here’s what we’d recommend based on our experience at Reddit:
Separate model judgment from merge policy. Let the model assess risk and surface findings, but let deterministic code decide whether an approval actually counts.
Start with narrow, boring eligibility. Restrict auto-approval by file ownership, path, risk, complexity, and finding severity
Build for the revision loop, not just the first pass. Auto-approval becomes far more useful when engineers can act on AI feedback, push a fix, and get a clean re-review without looping in a human.
Treat state and handoffs as first-class engineering problems. Test new commits, stale approvals, reviewer routing, and human escalations relentlessly. Locking approvals to an immutable commit SHA matters just as much as prompt quality.
Pair velocity metrics with safety guardrails. Faster review and merge times only count if defects, reverts, and production incidents hold steady.
As AI speeds up how quickly code is written, keeping human review focused where it matters most becomes even more important. When the guardrails are solid, auto-approvals become a normal part of the dev loop, so engineers can spend their attention on the complex challenges that actually need their judgment.











































































