-
Notifications
You must be signed in to change notification settings - Fork 9
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
Avoid re-requesting the same reviewer #86
Comments
Unfortunately the logs don't go far enough back, but I suspect that the bot actually requested a review of @ryantm 3 times and github only shows the first one. So the transition is:
I eventually want it to post a warning/reminder before timing out the "needs reviewer". That would make the process a bit more obvious and then it might be a good idea to avoid re-requesting the same reviewer twice. Marvin is currently on my backburner though, so it might take a bit until I get to that. |
I just discovered in marvins logs that I had been re-requested for #91570. I didn't get an email. I have implemented the reminder by now, which somewhat alleviates the situation. Still, it would be better to avoid re-requesting the same reviewer (or at least do it with an @mention instead) since it won't generate any notification. I'm not sure if its possible to determine that though. As a proxy, we could check who has been involved in the PR at some point. |
@timokau another case of this happened here: I was chosen as a reviewer, but after building I decided I wanted another pair of eyes on the PR, so I triggered I wonder if it could instead pick someone else. Or maybe I'm not using the flow correctly, and should've added |
I think a good way to handle the "I don't feel qualified" case is to try to identify somebody who has more experience in that area and request a review from them. The reviewer's responsibility is to move the PR forward in some way. Most of the time they can do that by reviewing it, sometimes they can choose to delegate instead. "Shepherd" is maybe a better term for the concept. You already did that in NixOS/nixpkgs#111796. In that case I would suggest to just leave the All in all I think you responded well in that MR. Thanks! |
That, or maybe it's closer to the role of an assignee than a reviewer. That role even exists in Github nowadays. Maybe it makes sense that marvin sets the assignee of a PR? |
Yes, I agree. The switch would also have other benefits. I'm not sure if we should also change the label names in that case. |
See this PR: NixOS/nixpkgs#91662
The bot has added and removed the same labels a few times. Maybe that was just for debugging purposes, or maybe it's a bug.
The text was updated successfully, but these errors were encountered: