Policy: Empower reviewers to reject burdensome PRs (original) (raw)

Reviewer time and effort are very precious and limited resources. However, there are Pull Requests (PRs) with certain qualities that place undue work 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 similar tools) which exhibit characteristics (see below) that make reviewing difficult or just a plain waste of time. While we've seen such PRs produced entirely by humans, generative AI tools have significantly lowered the effort to produce "plausibly-looking" contributions that are entirely inadmissible and in some cases against our Code of Conduct. This policy is thus drafted as a response to this problem, to avoid reviewers figuring out themselves how to respond.

PR characteristics that are red flags

PRs subject to this policy have characteristics such as (but not limited to):

It is okay to not be fully confident in a proposed change, but this should be disclaimed on the PR itself.

Policy

To mitigate undue work when encountering such PRs, reviewers may choose to exercise one or more of the following options:

Mentors or Reviewers

None specifically; compiler team.

Process

The main points of the Major Change Process are as follows:

You can read more about Major Change Proposals on forge.