Skip to content

Allow users to configure per-team rotation mode#2273

Merged
Kobzol merged 11 commits intorust-lang:masterfrom
Kobzol:team-rotation
Feb 7, 2026
Merged

Allow users to configure per-team rotation mode#2273
Kobzol merged 11 commits intorust-lang:masterfrom
Kobzol:team-rotation

Conversation

@Kobzol
Copy link
Member

@Kobzol Kobzol commented Feb 6, 2026

Proposed in https://rust-lang.zulipchat.com/#narrow/channel/224082-triagebot/topic/Extending.20review.20queue.20tracking/with/572421150.

Each reviewer can now set if they want to be assignable through a team. For example, if someone is a member of t-compiler and someone writes r? compiler, you can set if you want to be in the set of people who will be possibly assigned to such a PR, with work set-team-rotation-mode compiler off/on.

This is taken into account when computing assignments. The previous user preferences are still valid, and have higher priority in a way, so set-rotation-mode off will remove you from all rotations.

Best reviewed commit-by-commit.

@Kobzol Kobzol requested a review from Urgau February 6, 2026 22:40
@Kobzol
Copy link
Member Author

Kobzol commented Feb 7, 2026

Rebased.

Copy link
Member

@Urgau Urgau left a comment

Choose a reason for hiding this comment

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

Looks pretty good to me. I only have two small comments.

CI needs to be fixed, though.

View changes since this review

@Kobzol
Copy link
Member Author

Kobzol commented Feb 7, 2026

Also refactored team-stats to reduce duplication and make it work even if you specify a repository, but there is no adhoc group for the given team in that repository.

Copy link
Member

@Urgau Urgau left a comment

Choose a reason for hiding this comment

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

Looks good to me.

View changes since this review

@Kobzol Kobzol enabled auto-merge February 7, 2026 20:39
@Kobzol Kobzol added this pull request to the merge queue Feb 7, 2026
Merged via the queue into rust-lang:master with commit 4deb7b4 Feb 7, 2026
3 checks passed
@Kobzol Kobzol deleted the team-rotation branch February 7, 2026 20:53
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
… r=Urgau

Remove `rustdoc` adhoc group

With rust-lang/triagebot#2273, reviewers can now tell triagebot to opt them out of being assigned through a given team, so that `r? <team>` does not consider them if they don't want to.

That means that we can now finally get rid of adhoc groups that correspond to actual Rust teams. I wanted to start with a smaller team than `t-compiler` to test this, so I started with `rustdoc`, which was the smallest team that I found an adhoc group for.

Currently, the `rustdoc` team contains the following members:
- aDotInTheVoid
- GuillaumeGomez
- notriddle
- fmease
- camelid
- Manishearth
- Urgau
- lolbinarycat
- yotamofek

Only three of those were previously assignable through `r? rustdoc`. So to reproduce the previous state, I will run `as <username> work set-team-rotation-mode rustdoc off` for the remaining members of the `rustdoc` team before this is merged.

If more people from `t-rustdoc` want to join the review rotation, they can send [triagebot](https://rust-lang.zulipchat.com/#narrow/dm/261224-triagebot) a DM with `work set-team-rotation-mode rustdoc on`.

CC @rust-lang/rustdoc
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Feb 8, 2026
Remove `rustdoc` adhoc group

With rust-lang/triagebot#2273, reviewers can now tell triagebot to opt them out of being assigned through a given team, so that `r? <team>` does not consider them if they don't want to.

That means that we can now finally get rid of adhoc groups that correspond to actual Rust teams. I wanted to start with a smaller team than `t-compiler` to test this, so I started with `rustdoc`, which was the smallest team that I found an adhoc group for.

Currently, the `rustdoc` team contains the following members:
- aDotInTheVoid
- GuillaumeGomez
- notriddle
- fmease
- camelid
- Manishearth
- Urgau
- lolbinarycat
- yotamofek

Only three of those were previously assignable through `r? rustdoc`. So to reproduce the previous state, I will run `as <username> work set-team-rotation-mode rustdoc off` for the remaining members of the `rustdoc` team before this is merged.

If more people from `t-rustdoc` want to join the review rotation, they can send [triagebot](https://rust-lang.zulipchat.com/#narrow/dm/261224-triagebot) a DM with `work set-team-rotation-mode rustdoc on`.

CC @rust-lang/rustdoc
Zalathar added a commit to Zalathar/rust that referenced this pull request Feb 8, 2026
… r=Urgau

Remove `rustdoc` adhoc group

With rust-lang/triagebot#2273, reviewers can now tell triagebot to opt them out of being assigned through a given team, so that `r? <team>` does not consider them if they don't want to.

That means that we can now finally get rid of adhoc groups that correspond to actual Rust teams. I wanted to start with a smaller team than `t-compiler` to test this, so I started with `rustdoc`, which was the smallest team that I found an adhoc group for.

Currently, the `rustdoc` team contains the following members:
- aDotInTheVoid
- GuillaumeGomez
- notriddle
- fmease
- camelid
- Manishearth
- Urgau
- lolbinarycat
- yotamofek

Only three of those were previously assignable through `r? rustdoc`. So to reproduce the previous state, I will run `as <username> work set-team-rotation-mode rustdoc off` for the remaining members of the `rustdoc` team before this is merged.

If more people from `t-rustdoc` want to join the review rotation, they can send [triagebot](https://rust-lang.zulipchat.com/#narrow/dm/261224-triagebot) a DM with `work set-team-rotation-mode rustdoc on`.

CC @rust-lang/rustdoc
rust-timer added a commit to rust-lang/rust that referenced this pull request Feb 8, 2026
Rollup merge of #152310 - Kobzol:remove-rustdoc-adhoc-group, r=Urgau

Remove `rustdoc` adhoc group

With rust-lang/triagebot#2273, reviewers can now tell triagebot to opt them out of being assigned through a given team, so that `r? <team>` does not consider them if they don't want to.

That means that we can now finally get rid of adhoc groups that correspond to actual Rust teams. I wanted to start with a smaller team than `t-compiler` to test this, so I started with `rustdoc`, which was the smallest team that I found an adhoc group for.

Currently, the `rustdoc` team contains the following members:
- aDotInTheVoid
- GuillaumeGomez
- notriddle
- fmease
- camelid
- Manishearth
- Urgau
- lolbinarycat
- yotamofek

Only three of those were previously assignable through `r? rustdoc`. So to reproduce the previous state, I will run `as <username> work set-team-rotation-mode rustdoc off` for the remaining members of the `rustdoc` team before this is merged.

If more people from `t-rustdoc` want to join the review rotation, they can send [triagebot](https://rust-lang.zulipchat.com/#narrow/dm/261224-triagebot) a DM with `work set-team-rotation-mode rustdoc on`.

CC @rust-lang/rustdoc
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.

2 participants