Make triage a marker team with weaker gh perms #3016
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.29) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 7 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.124
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 comments
"Review active on #3016"
general
weight: 0.35
maxdexh
WIP under discussion with @apiraino
Before making this change, we should talk to the affected members about whether they need any of the affected perms, and we should probably set up
@rustbot closeon rust-lang/rust, asmoderatedoes not allow closing PRs (which is one of the tasks of triage).This brings triage more in line with trusted-contributors; its barrier to entry is much lower than top-level teams, and
writeperms can be used to do destructive things such as deleting labels, or editing other people's PRs. T-all membership is special as it comes with e.g. special treatment for travel grants, the ability to merge RFCs (due to gettingwriteperms on a few repos), and the ability to see certain zulip channels. Triage implying T-all membership was apparently an accidental side-effect of #2100.The goal is to get rid of destructive permissions and the T-all implication, so that we can keep using triage as a 'low barrier to entry' group for new people interested in doing triage; this was common practice before being put on hold due to the permission problem.
Here is a list of relevant permissions (for rust-lang/rust) that will be lost in the transition from
writetomoderate:S-waiting-on-author).@rustbot close; see rust-lang/rust#167073)- Rerun and Cancel Actions, as well as mess with variables in Actions
- Destructive things like deleting comments, labels, and milestones
- "Apply Suggestion" on others people's PRs
See GitHub's docs for a full list (note that there are some obvious errors towards the bottom). Most restrictions apply only to PRs; for issue management,
moderateandwriteare essentially equivalent. Arguably we could allow some of the ones listed above, but GitHub does not allow granular roles; however, some of them could be (or are already) implemented in triagebot if needed.Triage members will keep their "Member" badge on github, just like goal-owners and trusted-contributors. Additionally, they are still considered team members by rustbot, as triage has always had a carve-out from the bot's T-all check (this got broken by the rename in #2100, though noone noticed because of the simultaneous T-all addition; see rust-lang/triagebot#2594, which fixed this). This means that triage keeps the ability to use
@rustbot close/transfer/etc.on other rust-lang repos where they are enabled.Note that the purpose of triage doesn't change. Unlike trusted-contributors, triage is not a "permissions group", but denotes that a person is actively involved in doing triage; unlike trusted-contributors, we have members who get the same or more perms from other groups, and move members that don't actively triage to alumni. The permissions are mainly to facilitate triaging work (especially by making labeling easier).