-
Notifications
You must be signed in to change notification settings - Fork 86
better integration with github features #1993
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Since #1968 we no longer consider
bors != triagebot but even then, I you said it's "mostly" the same, idk what we could do for that one; most people know that an GitHub approval doesn't mean "try merging the pr"
What would you like to see unified here? triagebot already using GitHub's using the "Reviewers" section in GitHub, one of the reason we have
Same as above, teams can only be pinged if you have the permissions, which only members I think have. Maybe we can change that. We should ask T-infra about that.
This one is interesting, our I know T-infra is looking into CODEOWNERS it for rust-lang/team, we'll see how it goes for them. |
this is not exactly the same; it just avoids assigning labels. i think draft prs should be treated exactly the same as experimental prs: we should not apply autolabels or autopings to either, and we should add S-experimental to anything that's a draft pr.
existing contributors know this. but new contributors do not. i have seen people close a PR that's in the queue because they saw
no, it is using "assignees", which is not the same. i think if we switched to "reviewers" i would be happy here.
seems reasonable. i don't feel strongly about this one, except that i think it is confusing to have |
Do "draft" pull requests benefit of all the CI/check tooling of a
I might be wrong but I've always seen S-exp like "playgrounds" for people to work and iterate on maybe using the CI to test the changes. Drafts are for me mostly incomplete things (well, drafts). |
I remember this being discussed on Zulip a few years ago, but I can't find it, of course 😆 I'm generally in favor of moving our processes to be as "GitHub UI-native" as they can be, to be familiar to contributors coming from different projects hosted on GitHub. I think that draft PRs are a great example of this, and we already did some steps recently to make them "more native", for example draft PR will not automatically assign a reviewer now, nor set the
Yes, draft PRs should be exactly the same as open PRs in terms of CI jobs. One problem with draft PRs is that they might not be granular enough. We have various states of "not being ready", that could be "experimental work, do not even look" or "blocked on some other PR" or "WIP, do not review yet", etc. That's hard to convey with just a draft status, especially since different people use that feature differently. Using labels allows us to distinguish these cases.
While I agree that it would be nice, there are some issues with this. Not everything can be expressed with the approval button (rollup, priority, approving on behalf of someone else), and also we can't really sync the bors permission list with who can approve PRs. I think that all teams with
This is a bit weird distinction done by GH, and I think it is mostly arbitrary that triagebot sets assignees. I guess the idea is that the person will be "responsible" for reviewing and merging the PR. I think that we could change this rather easily, we would just have to let people know so that they can modify their scripts or GH queries.
Sure, but also they seem to be more granular. With CODEOWNERS GH would I think forcefully ping and request a review from the person owning the file/directory, which is IMO too noisy/spammy. I agree that |
there are lots of features in triagebot that have substantial overlap with github features. off the top of my head:
S-experimental
is mostly the same as a draft pull requestbors r+
is mostly the same as hitting "approve" on a PRr? name
is mostly the same as assigning a reviewer, except triagebot uses "assignee" instead of "reviewer"assign.owners
/mentions
/ping
have considerable overlap with github CODEOWNERScan we unify some of these? my concern is not really the amount of code in triagebot, i don't care about that, my concern is that new contributors (and often even existing contributors!) do not know how to use triagebot and have to look it up. i would love to make it so that doing the "obvious" thing is the same as doing the right thing.
The text was updated successfully, but these errors were encountered: