Meta Brings Code Review Auto-Approval More Mainstream with PyTorch GreenLight
GreenLight is PyTorch’s open-source implementation of Meta’s RADAR approach, built to let an AI reviewer approve a narrow class of pull requests. The surprising part is that it can issue real approvals, but only inside strict trust boundaries. The goal is to reduce review delays as AI tools produce more code, not to remove human review across the project. A scan runs every five minutes, finds eligible PRs and sends them through a reviewer workflow. GreenLight can return a land verdict, approve and label the PR; a no-land verdict removes any earlier GreenLight approval. Eligibility depends on the author being named by a PyTorch merge rule, meaning the author already has approval rights for the files being changed. Other authors are reviewed in shadow mode, so their results never become approvals. The README also says a reverted PR is permanently dropped from every path. GreenLight is an experiment in scoped automation: useful approvals are possible, while uncertain cases stay outside its authority.
What is GreenLight, and what does it do to a PyTorch pull request?
GreenLight is PyTorch’s open-source implementation of Meta’s RADAR approach, built to let an AI reviewer approve a narrow class of pull requests. The surprising part is that it can issue real approvals, but only inside strict trust boundaries. The goal is to reduce review delays as AI tools produce more code, not to remove human review across the project.
A scan runs every five minutes, finds eligible PRs and sends them through a reviewer workflow. GreenLight can return a land verdict, approve and label the PR; a no-land verdict removes any earlier GreenLight approval. Eligibility depends on the author being named by a PyTorch merge rule, meaning the author already has approval rights for the files being changed.
Other authors are reviewed in shadow mode, so their results never become approvals. The README also says a reverted PR is permanently dropped from every path. GreenLight is an experiment in scoped automation: useful approvals are possible, while uncertain cases stay outside its authority.
Which PyTorch maintainers’ pull requests can GreenLight actually approve, and why is author trust part of the rule?
GreenLight can issue real approvals only for PR authors named in the relevant PyTorch merge rule. The article says a PR gets a real verdict only when a merge rule names its author. Other authors are reviewed in shadow mode, and those reviews never become approvals.
This reflects the trust condition behind RADAR: author trust is part of the safety case, not just a convenience. Edward Yang wrote that RADAR approvals would be limited to PyTorch maintainers who already had approval rights on the files being changed. Existing permission therefore sets a boundary around which changes can be considered for automation.
That rule narrows the risk of handing an AI reviewer authority over unfamiliar contributors or files. It also means GreenLight is not a universal bot approver. The current system makes real decisions for a trusted maintainer cohort; everyone outside it receives a non-binding shadow review. The article does not say every eligible PR will be approved: the reviewer workflow can still return no-land.
How quickly has AI assistance increased code changes at Meta, and how many developers say they generate code faster than they can verify it?
Meta reported that significant lines of code per human-landed diff rose 105.9% year over year, while diffs per developer per month rose 51%. The article says 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.
Separately, Sonar surveyed more than 1,000 people. Of those respondents, 76% said they generate AI code faster than they can verify it. Only 39% said they always check AI code before committing. These figures show why teams are looking at approval automation as well as code generation.
The two sets of numbers describe pressure from different angles: Meta’s reported workload growth and developers’ own verification gap. The article does not give an exact headcount for the 76% figure, only the share and the survey size. Meta’s answer is to automate approval for carefully selected changes, while keeping other diffs with human reviewers.
What happens after GreenLight gives a pull request a land verdict, and how can a human still stop it?
When GreenLight returns a land verdict, it approves the PR and labels it. If it returns no-land, it withdraws any earlier GreenLight approval. The article describes this as an automated verdict on an eligible PyTorch pull request, not as an immediate merge into the project.
Meta’s RADAR process adds a separate safeguard for approved bot diffs: they wait in a landing queue for a configurable delay. The paper’s pipeline diagram shows 24 hours. A human can reject a diff during that window, so an automated approval does not remove the chance for intervention.
The article does not say that GreenLight itself uses the same 24-hour queue, so the two mechanisms should not be conflated. It does establish that GreenLight’s verdict can be withdrawn and that a reverted PR is permanently dropped from every path. Meta also monitors RADAR’s funnel and tunes thresholds over time, keeping human oversight and adjustment part of the broader system.
What checks does RADAR use to decide whether an AI- or bot-made change is safe enough to approve?
RADAR first sorts diffs by author and source. Some changes are excluded outright: open-source code, SOX-scoped code and code needing extra review are never eligible. Deterministic codemods can use a blanket policy, while AI-generated codemods and automated runbooks face a more detailed pipeline.
That pipeline checks safety, assigns a Diff Risk Score and uses an LLM reviewer. Runbooks need a clean 60-day record, with zero production incidents and low revert and rejection rates; they are capped at 2,000 diffs per day. The risk-score gate allows runbooks up to the 50th percentile, other AI and bot sources up to the 20th, and human-authored diffs by default up to the 5th percentile.
Finally, the RADAR Review Agent reads the change for safe patterns, such as dead-code removal or new tests. Automatic acceptance requires confidence of at least 8 out of 10 and every change classified as safe. Any failed check routes the diff to a human.
How do Axiom’s and Paradox’s approaches differ from Meta’s and PyTorch’s way of limiting automated approvals?
Meta’s RADAR and PyTorch’s GreenLight limit approval through trust in the author and calibrated risk scores. GreenLight gives real verdicts only to authors named in merge rules, while RADAR uses different risk thresholds for runbooks, other bot sources and human-authored changes. These controls define which changes can enter automated review.
Axiom describes a different emphasis: the kind of change determines the approval route. Everyday changes are auto-approved once required checks pass. Critical changes must pass sandbox validation against a copy of production traffic, then a human decides. Axiom’s stated target is at least 90% auto-approval for routine PRs. Paradox applies a similar principle to agent actions through its Antique code review system.
The approaches share scoped trust, but place the boundary differently. Meta and PyTorch emphasize authorship and risk; Axiom emphasizes change type; Paradox emphasizes the possible impact of an action. Axiom’s team tunes its reviewer weekly using past approvals, blocks and missed breakages, then tests thresholds against historical data.
Why do software teams review code before it becomes part of a production system?
In general, teams review code to find errors, security risks or unintended behavior before changes become part of a production system. This is established software-engineering practice; the article does not give a full explanation of why teams review code. It does show the issue that makes review especially important here: AI assistance is increasing the amount of code that needs attention.
Meta’s RADAR looks for changes it considers safe, such as dead-code removal, refactoring without behavior change, logging additions and new tests. It excludes some code entirely, and a failed safety check sends a diff to a human. Its reviewer must also reach confidence of at least 8 out of 10 for automatic acceptance.
The article says review has not kept pace with code production at Meta, and the share of diffs reviewed within 24 hours is falling. Automation is presented as a way to handle low-risk changes faster, not as a reason to skip safeguards. Human review remains part of the process for uncertain or higher-risk work.
This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.
Read more in the JupiteX app
Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.
Or read more news on the web