Home / Blog / Meta Brings Code Review Auto-Approval More Mainstream with…
Tech News

Meta Brings Code Review Auto-Approval More Mainstream with PyTorch

PyTorch GreenLight lets an AI reviewer approve maintainer pull requests, an open take on Meta RADAR, which requires a confidence score of at least 8 out of 10.

By Dillip Chowdary • Nov 28, 2026 • Source: InfoQ

Meta Brings Code Review Auto-Approval More Mainstream with PyTorch
Image: InfoQ

At a glance

Product
PyTorch GreenLight
Paper
arXiv 2605.30208, published in May
Confidence bar
ACR at least 8 out of 10
Runbook cap
Up to 2,000 diffs per day
Landing delay
Configurable, shown as 24 hours
Risk caps
50th, 20th, and 5th percentiles

Two sections ran long and two paragraphs were short of the 40-word floor. I’m tightening those and rechecking the counts.GreenLight has started letting a PyTorch AI reviewer approve pull requests from the project's own maintainers. It is an open-source take on RADAR, the system Meta uses to land low-risk code changes without waiting on a human. InfoQ's report by Andrew Hoblitzell, published Nov 27, 2026, follows that rollout as Meta, OpenAI, Anthropic, and Sonar each describe ways to automate approval itself.

This piece covers Meta's May paper on RADAR, the checks a diff must pass before it can land, and the maintainer-only rule PyTorch built into GreenLight. PyTorch said in May it would rebuild RADAR in the open. It is for PyTorch maintainers who already have approval rights on the files they change, and for teams setting author, change-type, or action-based limits on automated approval.

01Significant lines per landed diff

RADAR stands for Risk Aware Diff Auto Review. Meta described it in a paper published in May, "Automating Low-Risk Code Review at Meta" (arXiv 2605.30208). The paper starts from a capacity problem, and the authors keep the remedy narrow: rather than attempting to replace code review broadly, RADAR targets automation to diffs that satisfy conservative safety criteria.

Significant lines of code per human-landed diff rose 105.9% year over year, and diffs per developer per month rose 51%. Meta attributes more than 80% of that increase to agentic AI assistance. Review has not kept pace, and the share of diffs reviewed within 24 hours is dropping.

02Author sort before any model

RADAR sorts each diff by author and source before anything else. Deterministic codemods can be approved through a blanket policy and skip per-diff AI review. AI-generated codemods and automated runbooks take the longer path, drawn in the paper as "RADAR pipeline for AI and bot diffs."

Any failure sends the diff to a human. For AI-generated codemods and automated runbooks, the paper's pipeline is safety checks, a Diff Risk Score, and an LLM reviewer. One miss anywhere in that sequence keeps the diff from landing on its own.

  1. Safety checks hard limits that decide whether a diff is eligible at all
  2. Diff Risk Score a percentile gate that depends on the author and the source
  3. LLM reviewer the RADAR Review Agent, which reads the actual change

03Sixty-day records and percentile gates

The safety checks are hard limits, and they run before a diff can reach the risk score or the reviewer. Runbooks must show a clean 60-day record, with zero production incidents and low revert and rejection rates. They are also capped at up to 2,000 diffs per day.

The Diff Risk Score works as a percentile gate, and each organization can tune its own thresholds. Allowlisted runbooks can land diffs up to the 50th percentile of risk. Other AI and bot sources stop at the 20th, and human-authored diffs default to the 5th.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

SourcePercentile cap
Allowlisted runbooks50th percentile of risk
Other AI and bot sources20th percentile of risk
Human-authored diffs5th percentile by default

Note: Open-source code, SOX-scoped code, and code that needs extra review are never eligible for RADAR auto-approval.

04Landing queue and maintainer trust

The last gate is the RADAR Review Agent, which reads the actual change. It looks for safe patterns such as dead code removal, refactoring without behavior change, logging additions, and new tests. For a diff to be auto-accepted, ACR requires a confidence score of at least 8 out of 10, with all changes classified into safe categories.

Approved bot diffs do not land at once. They wait in a landing queue for a configurable delay, shown as 24 hours in the paper's pipeline diagram. A human can still reject a diff during that window, and Meta monitors the funnel and tunes thresholds over time.

Edward Yang wrote in a PyTorch devlog that "the RADAR approves are good" in Meta's internal use, limiting approves to maintainers who already have approval rights on the changed files, because RADAR is predicated on trust of the author. GreenLight's cohort is PyTorch's merge rules, and a real verdict comes only when a rule names the author, while everyone else is reviewed in shadow mode, where those reviews never become approvals. A scan runs every five minutes, and the README says "a reverted PR is dropped from every path, permanently."

  1. Five-minute scan sends eligible pull requests to the reviewer workflow
  2. Land verdict approves the pull request and labels it
  3. No-land verdict withdraws any earlier GreenLight approval

05ChatGPT Ads, Antique, and Sonar

OpenAI described a similar policy at QCon San Francisco 2026. Brian Yang, member of technical staff at OpenAI, said a few engineers began building ChatGPT Ads with Codex in November 2025, and the codebase has zero human-written production code. Yang matches approval to the type of change, and his target is at least 90% auto-approval for routine pull requests.

ChangeApproval path
Everyday changesAuto-approved once required checks pass
Critical changesSandbox validation against a copy of production traffic, then a human decides

The OpenAI team tunes its automated reviewer every week, reading past approvals, blocks, and missed breakages, then testing new thresholds against history. When too many bad pull requests open, they fix the agent, and when bad pull requests keep merging, they fix the checker. Anthropic applies the same idea to the actions an agent takes while it works with its Antique code review system.

Manish Kapur, VP of product marketing and developer relations at Sonar, wrote that in a well-run agentic software factory "the factory knows which changes can pass on automated evidence and which require a person to decide." Of more than 1,000 respondents, 76% said they generate AI code faster than they can verify it, and only 39% always check it before committing. The common thread is scoped trust, and reverts and misses feed back into the system.

Frequently asked questions

What is PyTorch GreenLight?

GreenLight is PyTorch's open-source take on Meta's RADAR. It lets an AI reviewer approve pull requests from maintainers who already have approval rights on the files being changed. A pull request gets a real verdict only when a PyTorch merge rule names its author.

What does RADAR stand for?

RADAR stands for Risk Aware Diff Auto Review. Meta described it in a May paper, "Automating Low-Risk Code Review at Meta" (arXiv 2605.30208). It automates diffs that satisfy conservative safety criteria.

Which diffs can pass RADAR without a human?

Deterministic codemods can be approved under a blanket policy. AI-generated codemods and automated runbooks must clear safety checks, a Diff Risk Score, and an LLM reviewer. Open-source code, SOX-scoped code, and code that needs extra review are never eligible.

What confidence score does the review agent require?

For a diff to be auto-accepted, ACR requires a confidence score of at least 8 out of 10, with every change classified into a safe category such as dead code removal, refactoring without behavior change, logging additions, or new tests. Approved bot diffs then wait for a configurable delay, shown as 24 hours, and a human can still reject them in that window.

Can GreenLight approve a pull request from outside the maintainer list?

A real verdict is issued only when a merge rule names the author. Everyone else is reviewed in shadow mode, and those reviews never become approvals. The README says "a reverted PR is dropped from every path, permanently."

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →