Description
Note
Wording draft: https://hackmd.io/@rust-compiler-team/S1iwe5GBxx
Proposal: Empower reviewers to reject burdensome PRs
Reviewer time and effort are very precious and limited resources. However, there are Pull Requests (PRs) with certain qualities that place undue burden on reviewers. We are proposing a policy that reviewers can use as justification for rejecting a PR without them having to excessively defend their position or relitigate the reasons for closing.
Motivation
In recent times, there are rather frequent contributions that are fully or partially produced by generative AI (e.g. LLMs and friends) which exhibit burdensome characteristics (see below) that cause a lot of burden on reviewers. While we've seen PRs with burdensome characteristics produced entirely by humans, generate AI tools have significantly lowered the level of effort required to produce "plausibly-looking" contributions that are entirely inadmissible, and so have become a major source of burdensome PRs. This policy is thus drafted as a response targeted at the problem of an increasing frequency of burdensome PRs, without requiring reviewers to figure out how they are produced.
PR characteristics that are burdensome to reviewers
- Needlessly or overly verbose descriptions or responses.
- Not internally coherent or even self-contradictory.
- Demonstrates misunderstanding of important aspects of what the code is doing or the purpose of the change.
It is okay to not be fully confident in a proposed change, but this should be disclaimed on the PR itself.
Policy
To mitigate the burden on reviewers, when encountering PRs with one or more of the characteristics, reviewers may choose to exercise one or more of the following options:
- Ask the PR author to make their PR descriptions or responses concise.
- Edit out verbose PR descriptions.
- Reject (close) the PR.
Mentors or Reviewers
None specifically; compiler team.
Process
The main points of the Major Change Process are as follows:
- File an issue describing the proposal.
- A compiler team member or contributor who is knowledgeable in the area can second by writing
@rustbot second
.- Finding a "second" suffices for internal changes. If however, you are proposing a new public-facing feature, such as a
-C flag
, then full team check-off is required. - Compiler team members can initiate a check-off via
@rfcbot fcp merge
on either the MCP or the PR.
- Finding a "second" suffices for internal changes. If however, you are proposing a new public-facing feature, such as a
- Once an MCP is seconded, the Final Comment Period begins. If no objections are raised after 10 days, the MCP is considered approved.
You can read more about Major Change Proposals on forge.
Caution
Concerns (1 active)
wait-for-some-discussions-to-settleresolved in this commentmake-sure-messaging-does-not-imply-discouragement-of-ai-tools-as-aidresolved in this commentdrop-disclosure-requirementresolved in this commentfocus-on-the-problemresolved in this commentai-should-still-be-mentioned-in-motivationresolved in this commentai-should-still-be-mentioned-in-motivationresolved in this comment- wording-nits
Managed by @rustbot
—see help for details.