-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add policy detailing review procedure for target-specific code #61
Conversation
For tier 1 targets, the reviewer should perform a full review of the code. | ||
Essentially treat the code as *not* platform specific. | ||
|
||
For tier 2 and tier 3 targets, the reviewer should confirm that the code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could say "at least" here.
For tier 1 targets, the reviewer should perform a full review of the code. | ||
Essentially treat the code as *not* platform specific. | ||
|
||
For tier 2 and tier 3 targets, the reviewer should confirm that the code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Briefly reiterating the platform support policy would help motivate this guidance. Something like:
For tier 1 targets, the reviewer should perform a full review of the code. Essentially treat the code as not platform specific. Tier 1 code is considered "guaranteed to work", and code review is an important aspect of how we uphold this guarantee.
Tier 2 targets are considered "guaranteed to build". When reviewing tier 2 and tier 3 target-specific code, we don't ask thorough scrutiny but the reviewer should confirm that the code:
generated from commit 23d4ff6
…r=dtolnay Warn users about limited review for tier 2 and 3 code Needs rust-lang/std-dev-guide#61
…r=dtolnay Warn users about limited review for tier 2 and 3 code Needs rust-lang/std-dev-guide#61
Rollup merge of rust-lang#120174 - Mark-Simulacrum:link-libs-policy, r=dtolnay Warn users about limited review for tier 2 and 3 code Needs rust-lang/std-dev-guide#61
Warn users about limited review for tier 2 and 3 code Needs rust-lang/std-dev-guide#61
Warn users about limited review for tier 2 and 3 code Needs rust-lang/std-dev-guide#61
See discussion in Zulip, including some links to applications of this in practice: https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/review.20policy.20for.20tier-3.20.28and.20tier-2.3F.29.20targets