Skip to content
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

Allow assigning to users on vacation #1920

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Noratrieb
Copy link
Member

@Noratrieb Noratrieb commented Mar 31, 2025

People on vacation will usually not (they better >:() respond during their vacation, but they probably will be able to respond after. There is no reason why you wouldn't be able to assign to someone on vacation manually if this person is the best reviewer and you have enough patience for them to return, so don't prevent it. Do print a warning though to set expectations for both the author and triage.

If someone wants to be completely unassignable because they have left, they'll already be unassignable because they have left.

docs: rust-lang/rust-forge#821

If someone assigns a person directly, they probably know what they want,
don't filter anything. Let someone assign the author, someone on
vacation, or an already assigned reviewer.

This is important because of the vacation part, we want people to be
able to assign people on vacation.
People on vacation will usually not (they better >:() respond during
their vacation, but they probably will be able to respond after. There
is no reason why you wouldn't be able to assign to someone on vacation
manually if this person is the best reviewer and you have enough
patience for them to return, so don't prevent it. Do print a warning
though to set expectations for both the author and triage.
if filter(&group_or_user) {
candidates.insert(group_or_user);
}
candidates.insert(group_or_user);
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, but this tests more things than just vacation, right? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it also detects author assignment and re-assignment, which I think are fine to allow for direct assignments.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, fair enough.

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