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
Add a "don't ping reviewers" sigil #4990
Comments
@foolip has identified an unrelated use case for this functionality: submitting How about this: any pull request whose title includes the string "[PREVIEW]" @tobie I'd like to implement this feature in your Ganesh project. What do you |
I'd bikeshed this into [NOT-READY-FOR-REVIEW], [NO-REVIEW], [NOT-READY] or the like, as I'm really not sure what [PREVIEW] means.
That shouldn't be too hard to implement. The bot already on each new comment so you'll have to guard against those anyway.
Awaiting your PR. :) |
Thinking about this again, I doubt if this would actually be used for ongoing external reviews like from Chromium. At least there wouldn't be much point in notifying owners before actually merging, since that'll happen automatically, but an FYI after the fact might be nice. @jeffcarp, @qyearsley, do you think a label or a special title format would be better for Chromium's wpt export eventually? My hunch is that labels are easier to manipulate via the GitHub APIs, and that it might be odd if the title doesn't match what is actually merged. I suggest a |
Agree a label is a better fit… but labels can't be added until after the PR has been created. Pre-morning-coffee suggestions:
Edit: please see post-coffee suggestions below. |
Are you sure labels can't be added when the PR is created? It looks possible via the web interface, can't it be done using APIs? |
So was definitely half-awake when I commented above and forgot creating a pull request was a two-step process. This should indeed just be one (or multiple) labels. We can either decide that there's a specific label to avoid triggering the bot (e.g. |
It's not entirely clear I wouldn't want to be pinged about upstreamed changes. They're certainly not always correct. Especially as we're getting closer to 100% coverage for standards it seems important that OWNERS double check any changes made. |
Seems that would push for a not |
I would just make the label Having said that, we should move all the ci stuff into |
Second the more generic label. We often want a review on the infra changes while we just don't want to ping/notify the owners of the tests we've changed as demos. A |
|
Actually, we can automatically tag such cases with the |
As a contributor, but not a member of the w3c org, I can't add labels to my own PRs, so perhaps a title/commit/comment string would be more broadly useful. |
So we can:
|
That sounds reasonable |
Can you be a tad more specific? ;) |
This is about the kind of scenario described in https://bugzilla.mozilla.org/show_bug.cgi?id=1336422, where a PR is created while the Gecko (or Chromium) review is still in progress, and presumably the PR is automatically updated if the upstream review is. In that state, the PR would be used to make sure it can later be merged, actually having a split review would be weird. Ideally the label would be removed right after merging, causing the owners to be notified. |
After sleeping on this, I think it's possible that I may have been suffering This practice would not only avoid additional complexity in the infrastructure
I think What do folks here think? |
Are you sure "I want to validate this change in CI without notifying any AUTHORS in a pull request" is the use case that prompted this issue? Is "mergability" something that is tracked outside of a PR? Is the social signal of opening a PR for downstream work not important? etc.? (I don't have an opinion on the topic, btw. just asking.) I'm also unsure that 1) is a good description of what @domenic experienced and caused him to file this issue. If it is, I suggest just creating a test directory should solve it. @jgraham on irc suggested there was more to it than that. |
I have been operating under the assumption that my recent activity (along with
Actually, that seems like another way we could have avoided all this noise with |
Yes, verified that it's all the pings on supposed "URL" test changes where in actually you all are just modifying URL files to see what happens with the CI. |
Based on the suggestion above, let's talk about the test directory solution: I know creating a new directory with tests will run them. If it does not include an OWNERS file, I assume nobody will be notified (unless there's a default fall-back I'm unaware of). In terms of resolving this issue, there are still some open questions:
|
That may be more convenience than we need. I think for this use case, the problem is one of documentation, which leads nicely into your second question:
Probably we should extend http://web-platform-tests.org/ with a section for folks looking to contribute to the infrastructure.
Based on @foolip's input (and discussion for Firefox and Chromium), it sounds like there is a need to vet patches from automated processes prior to requesting WPT review. Since this involves the eventual notification of OWNERS, a GitHub issue "tag" is probably a better fit than a commit message "sigil." |
A Happy to review a PR for it on https://github.com/tobie/ganesh. If not, I might decide to look into it myself at some point. |
Draft pull requests fill this purpose now. |
Us poor URL reviewers get a lot of pings from bots asking us to review cases when the WPT infra folks are actually just using URL files as a testing ground for infra changes.
It would be ideal if this didn't happen. One way of doing that would be, e.g., for the bots to not ping if the PR title contains "[infra]" or similar.
The text was updated successfully, but these errors were encountered: