Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require 2/3 majority for FCP #315

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JakobDegen
Copy link

Closes #293 .

Both the opsem and lang teams felt that a simple majority, which in their case meant 3/5 team members, did not sufficiently reflect team consensus. This PR updates rfcbot to require that more than 2/3 of all reviewers approve before an FCP begins.

There are a couple of alternatives to this approach:

  1. We could more aggressively customize this function based on team size. Possibly for large teams like T-compiler, 1/2 suffices and 2/3 is asking for too much. There's nothing stopping us from hand-writing this function for at least small team sizes.
  2. I have not widely discussed this with other teams. Quite possibly, other teams with 5 members feel like 3 suffices for them. We could make this option configurable somewhere on a per-team basis.

I'll nominate this PR for discussion by the council. They seem like the right group to decide how to come to a decision here.

@scottmcm
Copy link
Member

Note that for large teams there's still the "at most two unchecked" rule that means a 10-person team still needs 8 people, more than the ⅔ here.

(I do think we could consider loosening that somewhat with the new supermajority check instead of the previous bare majority check.)

src/github/nag.rs Outdated Show resolved Hide resolved
src/github/nag.rs Outdated Show resolved Hide resolved
@RalfJung
Copy link
Member

FWIW the PR in the form proposed by me (>= 2/3) would affect only teams with 5 members, which are the following: lang, libs-api, opsem, release. We could have FCP with those 4 teams to change this, maybe?

The form proposed by Jakob (> 2/3) would also affect teams with size 3 or 6: libs, docs-rs, crates-io, community-localization.

(This is only looking at teams that have rfcbot enabled according to their data in the teams repo.)

@JakobDegen
Copy link
Author

Updated to require >= 2/3.

I think asking the affected teams if this makes sense to them seems reasonable. I don't know where the best place to hold such an FCP is though...

@RalfJung
Copy link
Member

I've kicked of the FCP process in rust-lang/rust#114986.

@@ -395,7 +395,7 @@ fn evaluate_pendings() -> DashResult<()> {
proposal.id, why));
}

let majority_complete = num_outstanding_reviews < num_complete_reviews;
let majority_complete = num_outstanding_reviews <= 2 * num_complete_reviews;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems wrong: with 2 complete reviews and 4 outstanding reviews, this evaluates to true. ^^

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, the multiplication should be on the left-hand side.^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider requiring a super-majority, not just a majority, to reach FCP
4 participants