-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Establish a super-review policy #9376
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
Comments
cc me |
I am also concerned about:
|
A thought: from the description, it sounds like super-reviews could primarily target bugs/issues, not for the pull requests themselves. Super-review might not be necessary for the pull requests themselves for pre-approved issues, at least not by default. (no need to read further if you agree.) Elaboration on that thoughtWe may want the policy to differ between pull requests that link to one or more pre-existing, pre-approved issues, versus a pull request that has been put up without a link to the issues that it fixes (or with links solely to issues that have not been acknowledged by the core dev team). In the former case, I think the reviewer could be given the freedom to judge:
If the reviewer answers yes for all three questions, then they should not need to wait for super-review. (In the latter case where a pull request does not link to pre-approved issues, a reviewer might still decide a pull-request can land without super-review; I'm just saying we can put looser standards in place for the former case.) Such flexibility in policy might help avoid blocking pull requests from landing in the cases where the problem and the path to a solution is known ahead of time. (And then for modules where the code is known to be tricky, the core dev team can leave notes on the tickets saying that super-review is required for associated pull requests, presumably cc'ing the relevant super-reviewers.) |
Now that we have an RFC process, this can be closed, I believe. |
Super could serve a different role from the RFC process, e.g. if you want to merge a change to the typecheck that isn't a change in functionality, super-review would require that someone like Niko sign off on it. Still, this is a vague enough request for process change that I don't think it's buying us anything to have it open. |
…dnet Add `iter_kv_map` lint fixes rust-lang#9376 | before | after | | -------------- | ------------------------- | | `hmap.iter().map(\|(key, _)\| key)` | `hmap.keys()` | | `hmap.iter().map(\|(_, v)\| v + 2)` | `hmap.values().map(\|v\| v + 2)` | | `hmap.into_iter().map(\|(key, _)\| key)` | `hmap.into_keys()` | Is `MachineApplicable` changelog: [`iter_kv_map`]: added lint
I've been grumbling a lot lately about pull requests that introduce language changes getting through without much review or consensus. At the moment my strategy to prevent this is to just keep an eye on the queue and write something to the effect of 'please wait for further discussion' on things that I think need more review. We need an actually policy though, so that those with review authority know what is expected.
Let's try to keep it minimal. We already have a fair bit of policy, some of which is only loosely followed.
The text was updated successfully, but these errors were encountered: