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

Disable auto request reviewers feature #240

Merged
merged 2 commits into from
May 23, 2022

Conversation

korthout
Copy link
Owner

The auto-request reviewers feature never really worked well. The problem is that it tries to copy the current open review requests, but when a PR is merged, most of those reviews have already been completed. When completed, they are no longer on the review request list. So most of the time, the backport PR is created without a request for reviewers.

The feature became problematic for users when using a bot user (PAT) that does not have admin rights to the repository. Those rights are necessary to request reviewers in some repos. See #239.

Multiple solutions were possible, but as this feature doesn't behave as wanted, and might even be unexpected to some users (breaking the principle of least astonishment), I believe it should simply be removed. We can always re-introduce it with a configuration option at a later time.

reverts #4
fixes #239

The auto request reviewers feature never really worked well. The problem
is that it tries to copy the current open review requests, but when a PR
is merged, most of those reviews have already been completed. When
completed, they are no longer in the review request list.

The feature became problematic for users when using a bot user (PAT)
that does not have admin rights to the repository. Those rights are
necessary to request reviewers in some repos.

Multiple solutions were possible, but as this feature doesn't behave
as wanted, and might even be unexpected to some users (breaking the
principle of least astonishment), I believe it should simply be removed.
We can always re-introduce it with a configuration option at a later
time.
@korthout
Copy link
Owner Author

@korthout korthout merged commit fcd8f6a into master May 23, 2022
@korthout korthout deleted the 239-disable-request-reviewers branch May 23, 2022 08:35
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.

User bot comments "Must have admin rights to Repository"
1 participant