Skip to content

Don't raise reviewer already assigned when there are multiple assignees#2290

Merged
Urgau merged 1 commit intorust-lang:masterfrom
Urgau:assign-rm-current-assignee
Feb 17, 2026
Merged

Don't raise reviewer already assigned when there are multiple assignees#2290
Urgau merged 1 commit intorust-lang:masterfrom
Urgau:assign-rm-current-assignee

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Feb 17, 2026

@Urgau Urgau requested a review from Kobzol February 17, 2026 20:09
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Seems reasonable.

View changes since this review

if issue.contain_assignee(&event.user().login) =>
{
// If one of the assignee tries to assign another already assigned user,
// let it pass, as it means they wanted to be removed from the assignee list.
Copy link
Member

Choose a reason for hiding this comment

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

What if there are three assignees (R1, R2, R3), and R1 sends r? R2, should it unassign R3? 😆

Copy link
Member Author

Choose a reason for hiding this comment

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

No idea, it's a border line situation. I could see it go both ways.

@Urgau Urgau added this pull request to the merge queue Feb 17, 2026
Merged via the queue into rust-lang:master with commit f5c2805 Feb 17, 2026
3 checks passed
@Urgau Urgau deleted the assign-rm-current-assignee branch February 17, 2026 20:49
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