LLVM weighs a three-PR cap for contributors without commit access
Reid Kleckner wants a hard limit on open review requests from non-committers, aimed at AI-generated spam, with unlimited drafts still allowed.
LLVM is moving toward a hard cap of three open, non-draft pull requests from people who do not have commit access, a limit meant to cut the flood of AI-generated patches without closing the project to new contributors.
Reid Kleckner, who started the request for comments last month, wrote that a poll had favored his original figure of two open pull requests, with 52 percent support, but that notable objections led him to raise the number to three. The point, he wrote, is that "to remain open, we need to reduce the burden that open access has placed on maintainers who are overwhelmed with AI generated contributions." He argued the cap should push newcomers toward fewer, higher-quality first patches, while the existing path to commit access remains the way past the limit. Draft pull requests would stay unlimited: they can be used to share and discuss code, but they would not notify reviewers, show up on dashboards, or carry an expectation of active review.
Reaction on the LLVM Discourse was largely supportive. Reviewers said the draft exception addressed their main worry, and that contributors who spray patches without waiting for review of earlier ones are already a problem. One reviewer asked for a written "what do I do if I hit the limit" section and pointers to how to find reviewers.
A side proposal to cap the size of a new contributor's first change, on the view that a thousand-line patch is worse than several smaller ones, did not gain traction. Others said reviewers can already ask for a split, that the right size depends on the change, and that unlimited drafts are enough of an escape hatch when a patch has to be broken up.
The sharpest dissent came from a GCC developer, who rejected the claim that nearly every serious open source project is shutting out new contributors. GCC, he wrote, does not have LLVM's volume of LLM-generated patches, is not closing access, and recorded its highest number of unique contributors since tracking began in 2001. He warned the policy could narrow LLVM to people who already have access, and possibly to those with stronger English.