Skip to content

Always allow direct review requests #2014

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

Merged
merged 5 commits into from
May 29, 2025

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented May 26, 2025

This PR modifies the assignment logic so that it is always possible to r? users, even if they are on a vacation or if they are at their capacity. When a maximum review capacity or vacation is ignored due to using a direct review request, triagebot will post a warning, telling the requested that the reviewer might take a while to respond.

In the future, we can make this behavior configurable.
Requested in https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Review.20queue.20tracking.20in.20triagebot/with/520106062.

Supersedes #1920 (CC @Noratrieb)

@Kobzol Kobzol requested a review from Urgau May 26, 2025 12:04
@Urgau
Copy link
Member

Urgau commented May 26, 2025

and maybe also attach some "warnings" to be printed by triagebot when a reviewer on vacation/with full review queue has been requested for a review.

I think we should do this in this PR, otherwise people will assign reviewer and not realize that they won't receive any response for a while (or at all).

@Kobzol Kobzol force-pushed the always-allow-direct-review-request branch from 0c1f05a to 3775fcd Compare May 26, 2025 18:55
@Kobzol
Copy link
Contributor Author

Kobzol commented May 26, 2025

Fair enough! Implemented this in the last commit.

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.

LGTM, only left some nits.

@Kobzol Kobzol added this pull request to the merge queue May 29, 2025
Merged via the queue into rust-lang:master with commit 34e9b54 May 29, 2025
3 checks passed
@Kobzol Kobzol deleted the always-allow-direct-review-request branch May 29, 2025 06:34
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