← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Meta Open-Sources PyTorch GreenLight for Automated Code Review Approvals

🔄 Updated 4d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • GreenLight automates code review approvals for PyTorch pull requests.
  • It is an open-source version of Meta's internal RADAR system.
  • RADAR targets low-risk code changes using safety criteria and an LLM reviewer.
  • The system aims to address the growing volume of code changes from AI assistance.

GreenLight Automates PyTorch Code Review

Meta has introduced GreenLight, an open-source system designed to automate the approval of pull requests for PyTorch. This system allows an AI reviewer to approve code changes from PyTorch maintainers, marking a step towards more mainstream automated code review. GreenLight is derived from Meta's internal RADAR (Risk Aware Diff Auto Review) system.

Addressing Code Review Capacity Issues

The development of GreenLight and RADAR responds to a significant increase in code changes at Meta. The company reported a 105.9% year-over-year rise in lines of code per human-landed diff and a 51% increase in diffs per developer per month. Meta attributes over 80% of this growth to agentic AI assistance, which has led to a decline in the percentage of diffs reviewed within 24 hours.

RADAR's Conservative Safety Criteria

RADAR focuses on automating approvals for diffs that meet strict safety criteria rather than replacing code review entirely. The system categorizes diffs by author and source. Deterministic codemods can be approved via blanket policies, while AI-generated codemods and automated runbooks undergo a pipeline of safety checks, a Diff Risk Score, and an LLM reviewer. Any failure in these checks routes the diff to a human reviewer.

Safety checks include hard limits: open-source code, SOX-scoped code, and code requiring extra review are ineligible. Runbooks must have a clean 60-day record with no production incidents and low revert/rejection rates, capped at 2,000 diffs per day. The Diff Risk Score acts as a percentile gate, allowing different risk thresholds based on the source of the diff.

The RADAR Review Agent

The final stage is the RADAR Review Agent, which analyzes the actual code change. It identifies safe patterns such as dead code removal, refactoring without behavioral changes, logging additions, and new tests. For auto-acceptance, the agent requires a confidence score of at least 8 out of 10, with all changes classified into safe categories. Approved bot diffs enter a landing queue with a configurable delay, typically 24 hours, during which a human can still reject the change.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Dec 01

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Meta has released GreenLight, an open-source system based on its internal RADAR tool, to automate code review approvals for low-risk PyTorch pull requests. This initiative addresses the increasing volume of code changes, partly driven by AI assistance, which has outpaced human review capacity. GreenLight allows AI to approve specific code changes, reducing the burden on human maintainers.