Skip to content

Handle community review PRs closed and merged too early - #2461

Merged
Urgau merged 1 commit into
rust-lang:masterfrom
Urgau:assign-community-reviews-closed-early
Jul 11, 2026
Merged

Handle community review PRs closed and merged too early#2461
Urgau merged 1 commit into
rust-lang:masterfrom
Urgau:assign-community-reviews-closed-early

Conversation

@Urgau

@Urgau Urgau commented Jul 10, 2026

Copy link
Copy Markdown
Member

I didn't think reviewers would merge without even assigning themselves, in those cases we should remove the label and not perform auto-assignment.

Happened at rust-lang/rust-clippy#17397 (comment)

cc @DanielEScherzer

@Urgau
Urgau requested a review from Kobzol July 10, 2026 17:07

@samueltardieu samueltardieu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am not familiar with this code, but the logic looks good to me.

View changes since this review

@DanielEScherzer DanielEScherzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense to me, but is it worth adding a test case for this?

View changes since this review

@Urgau

Urgau commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

is it worth adding a test case for this?

Our current testing setup is too weak to be able to test this unfortunately.

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Comment thread src/handlers/assign.rs Outdated
@Urgau
Urgau force-pushed the assign-community-reviews-closed-early branch from 3342cf0 to 9012984 Compare July 11, 2026 09:32
@Urgau
Urgau enabled auto-merge July 11, 2026 09:33
@Urgau
Urgau added this pull request to the merge queue Jul 11, 2026
Merged via the queue into rust-lang:master with commit d1ddc97 Jul 11, 2026
3 checks passed
@Urgau
Urgau deleted the assign-community-reviews-closed-early branch July 11, 2026 09:41
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.

4 participants