r/codereview • u/hugov95 • 1d ago
External (AI-assisted) code-reviewer behaving as maintainer
Hi all,
I'm one of the two main developers of an open-source library for simulation. Together with the other main developer, I take care of all the PR reviews and usually we know about the PR developments before they are opened, as we have a rather small community where people know each other and talk to each other and with us online.
The problem
Since some weeks, we have received PR reviews (without approval right) from an external person (outside our "developer role" group). The reviews are AI-generated by and published by the person itself (this declaration is in the comment). In general, the tone of the comments is in the lines of:
\- "thanks for this contribution"
\- "could you add a test for X?"
\- "could you split this file?"
\- "could you add this to the docs?"
To me (and maybe I'm wrong) the tone of voice is more of an admin or a main developer, than one of an external reviewer.
Moreover, we simply do not agree with all the points brought up. Many points make sense, of course because AI compiled the code locally etc., but we do not always require extra tests, for example. Having someone suggesting extra tests, requires us (the main devs) to review the PR, and review comments we did not ask about and which we disagree with.
My questions
What would be a good way to handle this? We have been thinking about: a) allowing PR reviews and comments only from within the community; b) rejecting comments and reviews from this specific person (a block); c) adding no new rules. For option b and c we would reach out to the person, explaining that we don't appreciate their reviews.
Our core values are to be an open community (especially in our field, it's not given for granted), and if we restrict reviews from external contributors it seems we give in on our open character. However, we consider the current situation out of control, and we have also received negative feedback from our community about this reviewer.
Thanks in advance for your advice 🙏🏻
2
u/Sataric-Parsy 23h ago
locking down reviews for everyone punishes good-faith contributors for one annoying user's behavior. just message them directly saying you only want human reviews from people familiar with the codebase, and block if they ignore it
1
u/codemouse_tamas 4h ago
I'd start with a CONTRIBUTING note rather than a hard restriction: say reviews are welcome, but automated or AI-generated reviews should be clearly labelled and limited to real bugs, not style or test-coverage requests. Then message this person directly and ask them to follow it. Most people adjust once the expectation is written down, and if they ignore it, blocking them is a reasonable next step that keeps the project open for everyone else. It also helps to publish a short checklist of what you actually require in a PR (tests for bug fixes, docs for new features) so contributors know which review comments are binding and which are just suggestions.