-
Notifications
You must be signed in to change notification settings - Fork 67
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
RFC 37: Split META.yml suggested_reviewers into suggested_reviewers and notify #37
Conversation
At TPAC 2019 we set out some [priorities for 2020](https://docs.google.com/document/d/1gie7LFb6cAUfabY86MYuWM7m7ux_FaKhDkLdpz0zWkg/edit), | ||
which include increasing PR review velocity and reduce the number of stale PRs. | ||
|
||
wpt has META.yml files with `suggested_reviewers`. @wpt-pr-bot will request review from everyone listed in `suggested_reviewers` for PRs that change that directory, and also assign one of them in a round-robin fashion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is implementing the round robin review part of this RFC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, clarified below.
rfcs/meta_yml_notify.md
Outdated
* `suggested_reviewers`: @wpt-pr-bot will only request review from one of these, similar to how assignee currently works. | ||
* `notify`: @wpt-pr-bot will add a comment (before requesting reviews) notifying everyone listed. | ||
|
||
Either @wpt-pr-bot can continue to also assign the selected reviewer, or it can only request review and not assign anyone. (This should be decided before merging this RFC.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be better to stop using the assignee field, even though that means I'll have to update mail filters again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
rfcs/meta_yml_notify.md
Outdated
|
||
## Risks | ||
|
||
Having bots add comments in wpt has been a source of contention in the past. This RFC reintroduces a comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm worried about this. In general I think if we were going to have a comment from bots, I'd expect much more value in providing a concise summary of test failures, surfacing warnings, or linking to results, than in reverting to a system where we @
-notify people in a comment in the hope that tweaking notifications makes people spend more time reviewing PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The purpose of those comments wouldn't mainly be to get review, but rather:
- move people from
suggested_reviewers
tonotify
if they have no intention of reviewing - put people in both
suggested_reviewers
andnotify
if they do want to review but also don't want to miss anything. I think @annevk is likely in this category.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but the main concern still applies. If we have some acceptable non-zero number of bot comments we can add without annoying people too much, why is this the most useful thing to spend that budget on? We have a lot of information that's buried several links deep in the checks API that we could instead surface in a comment, for example. To me that seems likely to be higher impact than tweaking the notification system to allow people to be notified without being flagged for review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think having mentions instead of review requests is more important than surfacing other information hidden in CI checks, but I think the problem this RFC is trying to address is worth doing something about.
Personally, I'd love to have a bot comment that surfaces all useful information we want people to see (such as wptpr.live links).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't want bot comments. A bot modifying OP as the PR bot for standards does is fine, but adding comments is noisy and annoying.
Does adding usernames in an edit result in notifications for those added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, yes. (Tested in web-platform-tests/wpt#20660 )
Editing OP would be ok for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed the RFC to say to edit OP.
@zcorpan by happenstance I noticed that the GitHub API has a |
(I haven't yet looked into Having For example, myself and @foolip are listed in I don't know if this would be an improvement or a regression, though. Thoughts? |
Pretty sure that would be a regression. I'm not opposed to some way to non-recursively add yourself as a reviewer/notify or a way to exclude certain children. |
I've updated this to address comments. I still haven't looked into |
@zcorpan At this point, are you still interested in pursuing this RFC? If not, we should determine whether there is appetite from another community member to champion this. It seems like there is enough interest that we shouldn't just drop it. |
Unfortunately, I don't have bandwidth to work on this at the moment (or the next few months probably). I would be happy if someone else can take this. :) |
Thanks @zcorpan ; it can be hard to take the step back and acknowledge when one is overloaded, but it's also important so I appreciate you doing so :) I have reviewed this thread and the RFC itself. Outside of the actual implementation work, it appears there is not that much currently to do here. I came up with the following list:
For the latter, I took a look through Chromium's OWNER files for inspiration. We have:
|
It seems like this is not making progress currently and there's no one who is able to champion it. I'm going to close the issue for now, but we can reopen it if we identify a way forward. |
See the rendered version of this RFC.