Skip to content

A case where rustbot assigned the PR author as the reviewer #1662

Closed
@fmease

Description

@fmease

In rust-lang/rust#103648, rustbot assigned the PR author as the reviewer.
CC @jyn514

There appears to be some code specifically to avoid this problem but for some reason it did not succeed in this situation:

let filter = |name: &&str| -> bool {
let name_lower = name.to_lowercase();
name_lower != issue.user.login.to_lowercase()
&& !issue
.assignees
.iter()
.any(|assignee| name_lower == assignee.login.to_lowercase())
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions