Hey everyone,
I wanted to start a discussion on how we should handle the recent jump
in external
PR volume, especially AI-assisted PRs, without burning out reviewers.
To put some numbers on what we're seeing:
- November hit 685 PRs created, up from a 2025 average of 246.2/mo (3.5x YoY
vs. 196 in Nov 2025, and well above our prior May 2017 peak of 478).
- Non-committer contributors are the biggest single driver of that
jump, rising
3.7x from 65.7/mo in 2025 to 245 in November (80 active
non-committer authors
vs. 16 active committers).
- Even with a record 450 merges in November, our open backlog grew by 135
PRs (292 open total). The 15 reviewers in .github/REVIEWERS.yml absorbed 654
primary assignments in November - 43.6 per reviewer on average, and
72.6 across
the 7 fallback reviewers.
I expect this to accelerate.
A couple of important callouts: first, core committers are also driving a big
share of the uptick through agent-assisted work (I recently shared a separate
proposal on standards for large-scale agentic changes). I'll leave that out
of scope for this thread.
Second, this isn't just spam - our merge rate for non-committer PRs has
been reasonably high (~75% over the last few months), and annecdotally I've
seen a fair amount of value in these contributions. So I think we want
to filter
out low-effort/unowned PRs, improve the quality of middling PRs without
human intervention required, and smooth out the queue, but we don't
want to shut
down external contributions.
Looking at how other OSS projects have approached this, here are a few
lightweight
options I think could fit:
1. Soft cap on concurrent open PRs per non-committer. Defer pr-bot reviewer
assignment once a non-committer has 2 or 3 open non-draft PRs (with an
allow list for trusted repeat contributors) until earlier PRs are merged or
closed. Have pr-bot automatically unassign reviewers when directly
requested by an external contributor.
2. Wait for green checks before assigning a human reviewer. Have pr-bot hold
off on tagging a reviewer until required CI checks pass and
automated lint/review
findings have been addressed, so reviewers aren't spending first passes on
broken PRs. This would require an additional lightweight triaging layer
to allow checks to run, and we'd probably also need to filter to non-flaky
workflow runs (or auto-retry a certain number of times).
3. Add explicit AI contribution guidelines to CONTRIBUTING.md (or
an AI_POLICY.md).
Specifically, ideas I'd support:
- Authors remain fully responsible for understanding and defending every
line they submit (consistent with our ICLA requirements).
- No fully autonomous/unmonitored bot PRs from external accounts.
- Replies to review comments must be written by a human, not copy-pasted
LLM output.
- Explicit norm that committers should feel comfortable pausing
or closing
a PR if the author cannot explain the change or there doesn't appear to
be a reachable human engaging with feedback.
- Guidelines coming out of my LSAC doc/thread
<https://lists.apache.org/thread.html/2jm2m05l93zrxw3nlxv5zw1rqjktkj37>
4. Invest more in our AI review tooling. Anecdotally, my manual AI
review passes are catching significantly more than the bot is. I'm trying
to start with https://github.com/apache/beam/pull/41844 (WIP) to do this
What do folks think? Any other ideas?
Thanks,
Danny