Hey,

Just a quick comment on the PR count limit: I don't remember when my open
PR count went below 10 :) They can easily pile up if one splits a bigger
change into smaller, reader-friendly sized pieces. It would be great to
avoid a situation where people move PRs back and forth between draft and
live just to balance with priorities.
I think that such a PR limit only works if we define a group of "trusted
contributors" where we make it quantifiable how to get to that group, like
having X merged PRs.

Gabor

Sylwester Lachiewicz via dev <[email protected]> ezt írta (időpont:
2026. dec. 3., Cs, 10:21):

> Hi all,
>
> I'm a contributor without write access to Iceberg. In the last few months
> I've opened a few small PRs on iceberg-go, iceberg and PyIceberg.
>
> +1 to the DataFusion policy and a per-user open PR limit. Five points from
> my side:
>
> 1. A limit would have caught me, and that's fine. On Nov 3 I opened 7
> small build PRs on iceberg in one day. One merged and five still have no
> review. A cap of about 5, with a bypass list like Arrow's, would have made
> me queue them.
>
> 2. Ask for verification, not just which tool was used. On iceberg-go, my
> extra review rounds came from things a PR template could ask up front: did
> I update the other call sites with the same pattern, and did the fix run on
> every backend. I'd ask three questions: what did you run, does the new test
> fail without the fix, and which other call sites did you check. For
> disclosure itself, the one-line Generated-by: commit trailer from the ASF
> guidance should be enough.
>
> 3. Tell agents what to do instead of just "stop". I found real bugs and my
> agent refused to file them because of the "STOP. Do not open pull requests
> or issues" rule in AGENTS.md, even though I was supervising it step by
> step. An agent can't judge whether it counts as supervised, so even
> supervised agents stop. If we adopt the policy, AGENTS.md should say: stop,
> write a draft issue with a minimal reproducer, and let the human file it.
>
> 4. Be careful with short stale timeouts. The stale bot closed my PyIceberg
> PR after 30+ days with zero reviews. A short timeout closes unreviewed PRs
> from people and bots alike, and an honest contributor is the least likely
> to reopen. I'd run it only after a reviewer has asked for changes (for
> example, with a waiting-on-author label) and let the per-user limit handle
> volume.
>
> 5. Replies in review threads should be in the author's own words. A
> maintainer of another project told me he mostly won't read text I didn't
> write myself, and asked me to put any AI-written context below a horizontal
> rule. That was fair :-) Iceberg could add the same rule to contribute.md,
> which gives reviewers Gang's point 4 as a written rule they can point to.
>
> Thanks,
> Sylwester
>
> On Thu, Dec 03, 2026 03:36 AM, Junwang Zhao <[email protected]> wrote:
>
>> Limiting the number of open PRs per contributor sounds good. It could
>> also help reduce GH Actions usage, which we've discussed before[1].
>>
>> [1] https://lists.apache.org/thread/9gorr3b1c18f8yk2fys16knjmnrbkjff
>>
>> On Thu, Dec 3, 2026 at 6:43 AM Yufei Gu <[email protected]> wrote:
>> >
>> > I echo all your points, Fokko. Not only Iceberg, but other communities
>> > are seeing the same pattern. One of example is that contributors use
>> > AI to find edge cases and then repeatedly ask reviewers to weigh in.
>> > Given the limited review resources, it isn't wise for the whole
>> > community to focus fixing edge cases. I think the DataFusion policy is
>> > a good starting point for us.
>> >
>> > Yufei
>> >
>> > On Wed, Dec 2, 2026 at 9:42 AM Aaron Niskode-Dossett via dev
>> > <[email protected]> wrote:
>> > >
>> > > I think the Airflow project also has sound guidelines[1] and I also
>> agree that a per-user limit would be helpful.  Also a view from a
>> contributor without write access, I would welcome the friction from these
>> changes if it allows higher quality contributions to move faster, which I
>> understand to be the goal.  In my engineering organization it's getting
>> much easier to make the case for internally forking a project precisely
>> because it's getting harder for our upstream contributions to move through
>> projects (iceberg is a noteable exception, for which I am grateful).  I
>> don't think that's a great long-term outcome for the projects or for the
>> orgs.
>> > >
>> > >
>> > > [1] -
>> https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
>> > >
>> > > On Wed, Dec 2, 2026 at 10:27 AM Eric (Jiwen) Yang <[email protected]>
>> wrote:
>> > >>
>> > >> Hi all,
>> > >>
>> > >> Adding a view from a contributor without write access.
>> > >>
>> > >> I support the DataFusion-style policy and a per-user open PR limit.
>> A few suggestions:
>> > >>
>> > >> Issue first for new contributors. Before opening a non-trivial PR,
>> contributors (e.g, without merged PRs, or in other criteria) open an issue
>> describing the problem and its real-world impact, and wait for a committer
>> to mark it as worth fixing (e.g. a label). Judging an issue is usually
>> cheaper than reviewing a PR, and it filters out the edge cases Fokko
>> describes before any code exists. PRs without an accepted issue can be
>> closed without review.
>> > >> Add a PR template. The AI guidance in contribute.md already asks
>> contributors to disclose AI use, but the main repo has no PR template so
>> it’s invisible for e.g., people opening PRs manually. A short template
>> (linked issue, what the change does, AI disclosure, etc) would make the
>> expectation visible on every PR, as Gang suggested for iceberg-cpp.
>> > >> In the PR template: Ask for verification, not just disclosure.
>> Self-reported disclosure mostly catches honest contributors. Adding "what
>> did you run, and does the new test fail without the change?", etc to the
>> template is harder to fake and more useful to reviewers. +1 to Gang's point
>> that if an author can't discuss their own change, maintainers should feel
>> free to close it.
>> > >> Make the bypass list criteria clear and earnable. If we adopt a
>> limit with a bypass list as Arrow does, a published criteria (e.g. N merged
>> PRs) keeps the path clear for genuine newcomers.
>> > >> Share the triage load. I believe many contributors (like me) would
>> be happy to help with first-pass triage of issues and PRs (checking repros,
>> flagging low-value reports) so committer time goes to those ready for real
>> review.
>> > >>
>> > >> It might also help to adopt those strategies as a trial and revisit
>> in a few months for the outcome.
>> > >>
>> > >> Thanks,
>> > >> Eric
>> > >>
>> > >>
>> > >> On Wed, Dec 2, 2026 at 7:23 AM Gang Wu <[email protected]> wrote:
>> > >>>
>> > >>> I strongly agree with DataFusion's best practices regarding AI
>> contributions.
>> > >>>
>> > >>> I have run into many similar situations recently. As a maintainer
>> of iceberg-cpp, I care much more about the contributor's intent (e.g., are
>> they genuinely using the project? Is there potential for them to become a
>> committer in the future, or are they just farming open-source
>> achievements?), the real value of the problem being solved, as well as code
>> quality and maintainability. Therefore, I am thinking of adding following
>> actions to iceberg-cpp:
>> > >>>
>> > >>> 1. Limit the number of open PRs for new contributors until they
>> earn trust through continuous community participation.
>> > >>> 2. Since AI-assisted development is the norm now, we should enforce
>> a strict PR template. Submitters (or their agents) must explicitly state
>> the problem the PR solves, describe the solution, and provide an AI
>> disclosure (including whether the PR has been human-reviewed). This forces
>> the submitter to at least think about the PR's value and scrutinize its
>> content.
>> > >>> 3. Enable GitHub's auto-stale feature with a very short timeout to
>> automatically close PRs that lack human involvement.
>> > >>> 4. If a maintainer notices during the review process that an author
>> is mechanically relying on AI to address comments without truly
>> understanding or participating in the discussion, the maintainer should be
>> empowered to refuse further review and inform the author.
>> > >>>
>> > >>> Thanks,
>> > >>> Gang
>> > >>>
>> > >>> On Wed, Dec 2, 2026 at 7:53 PM Raúl Cumplido via dev <
>> [email protected]> wrote:
>> > >>>>
>> > >>>> El mié, 2 dic 2026 a las 12:28, Alex Dutra via dev
>> > >>>> (<[email protected]>) escribió:
>> > >>>> >
>> > >>>> > Hi Fokko,
>> > >>>> >
>> > >>>> > This is a real pain for all open-source projects. The DataFusion
>> > >>>> > policy is worth trying imho.
>> > >>>> >
>> > >>>> > FYI, there is also a feature in GitHub to limit the number of
>> PRs that
>> > >>>> > contributors without write access can open:
>> > >>>> >
>> > >>>> >
>> https://blog.github.com/changelog/2026-06-17-limit-open-pull-requests-for-users-without-write-access/
>> > >>>> >
>> > >>>> > That said, many contributors (like me) do not have write access.
>> I
>> > >>>> > think that should still be OK if we set the limit to, say, 5
>> (right
>> > >>>> > now, as an example, I have 3 PRs open).
>> > >>>>
>> > >>>> On Arrow we save this limitation with the `bypass_users` list [1]
>> of
>> > >>>> known users on the `.asf,yaml` config.
>> > >>>>
>> > >>>> As I shared on the Arrow thread, I see more projects using some
>> kind
>> > >>>> of vouching system with a list of known users with permission to
>> > >>>> bypass limitations set for unknown users (or bots).
>> > >>>>
>> > >>>>
>> > >>>> [1]
>> https://github.com/apache/arrow/blob/fbf6c9f846479482ddbfcd8df82a7d9a700afca8/.asf.yaml#L72-L81
>> > >>>>
>> > >>>> > WDYT?
>> > >>>> >
>> > >>>> > Thanks,
>> > >>>> > Alex
>> > >>>> >
>> > >>>> > On Wed, Dec 2, 2026 at 11:30 AM Fokko Driesprong via dev
>> > >>>> > <[email protected]> wrote:
>> > >>>> > >
>> > >>>> > > Hi all,
>> > >>>> > >
>> > >>>> > > I wanted to resurface the topic of AI generated contributions.
>> Inspired by the discussion on the Arrow devlist:
>> https://lists.apache.org/thread.html/94ypp500kqkqmn5dv85mptdxkfy20xx8.
>> This has been discussed before in Iceberg syncs, but I wanted to bring it
>> to the devlist as well.
>> > >>>> > >
>> > >>>> > > The abovementioned thread struck me because, this Monday, I
>> tried to reduce the backlog on PyIceberg. That day I reviewed 34 PRs and
>> merged 21 of them. However, new PRs are being created at the same pace.
>> Some of them are easy to review; others are harder because they touch an
>> evaluator or partitioning logic. Although I use AI to help review, I'm not
>> comfortable doing the reviews fully automated without a human in the loop.
>> > >>>> > >
>> > >>>> > > Some of the PRs are valid, but most of them fix some kind of
>> edge case that nobody will hit in practice, while at the same time adding
>> complexity to the codebase.
>> > >>>> > >
>> > >>>> > > I had hoped we would get there by tuning AGENTS.md, and over
>> the last few weeks I've done some fine-tuning, but I don't think this is
>> going to work. I also noticed that some authors who clearly use AI are
>> ignoring the AI disclosure:
>> https://github.com/apache/iceberg/pulls?q=is%3Apr+state%3Aopen+author%3AAnurag-S1ngh.
>> I don't like calling people out, but 26 PRs in 24 hours for
>> iceberg/PyIceberg, is pretty extreme to me.
>> > >>>> > >
>> > >>>> > > Looking at the pace at which PRs are being created, it feels
>> obvious to me that we need a new policy. It is a waste of both human and
>> compute resources. From the Arrow thread, I like the policy from
>> DataFusion:
>> https://datafusion.apache.org/contributor-guide/ai-policy.html#autonomous-agent-contributions,
>> but I'd like to pick the community's brain on this.
>> > >>>> > >
>> > >>>> > > Cheers,
>> > >>>> > > Fokko
>> > >>>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Aaron Niskode-Dossett, Data Engineering -- Etsy
>>
>>
>>
>> --
>> Regards
>> Junwang Zhao
>>
>

Reply via email to