Zulip Chat Archive

Stream: std4

Topic: Triage role


Scott Morrison (Aug 11 2023 at 00:17):

@Mario Carneiro, could we hand out the triage role to all contributors to Std? I think it is super helpful if authors can take responsibility for switching labels awaiting-review / awaiting-author / WIP on and off by themselves.

Mario Carneiro (Aug 11 2023 at 13:41):

I'm not sure there is an easy way to give it to all contributors, but I gave it to the recently active ones and anyone else can request it. I have seen this handled using a bot though in other repos, I think the triage role allows a bit more than just changing labels and also it prevents having protected labels that should only be set by a bot

Mario Carneiro (Aug 25 2023 at 06:48):

Thanks to std#232, we no longer need to hand out the triage role to contributors, and can stick to the usual github permissions model. To tag your PRs, just comment with awaiting-review / awaiting-author / WIP on your PRs. (Note, there cannot be anything else in the comment body, it has to be just a bare awaiting-review etc.)

Scott Morrison (Aug 25 2023 at 07:09):

The biggest hurdle here is going to be teaching people that this exists. Perhaps to make it easier we should all get in the habit of using this mechanism when triaging, so others can see how it works.

Mario Carneiro (Aug 25 2023 at 07:22):

Can the bot automatically mark new PRs with awaiting-review?

Mario Carneiro (Aug 25 2023 at 07:23):

We can also put some hints about this in the PR template

Scott Morrison (Aug 25 2023 at 07:52):

Perhaps we should add the awaiting-CI label, and have new PRs come labelled with awaiting-CI and awaiting-review, and have the same Mathlib bot that removes awaiting-CI.

Eric Wieser (Aug 25 2023 at 08:00):

Do we need this machinery at all? Can't we use the draft / changes requested machinery of github to track review/WIP status?

Jon Eugster (Aug 25 2023 at 08:00):

Mario Carneiro said:

We can also put some hints about this in the PR template

A short "how to contribute" section/page in the README.md might also be another good idea. I'm generally always searching for these on any github repo.

Eric Wieser (Aug 25 2023 at 08:00):

Or can only maintainers "request changes"?

Mario Carneiro (Aug 25 2023 at 08:03):

I agree re: draft PRs, but "request changes" is supposed to be a reviewer's response to a PR, it is not a good replacement for awaiting-review

Mario Carneiro (Aug 25 2023 at 08:03):

also if a maintainer requests changes, the PR author can do nothing to clear that status

Mario Carneiro (Aug 25 2023 at 08:04):

Anyone can "request changes" though, not only maintainers (they are shown in a different way though)

Mario Carneiro (Aug 25 2023 at 08:05):

I think the main advantage of the labels is that you can use them for filtering the PR list

Eric Wieser (Aug 25 2023 at 08:08):

You can use draft/review status for filtering too

Scott Morrison (Aug 25 2023 at 08:10):

The labels are much superior to draft / review status. For one, they are much visually clearer on the PR list!


Last updated: Dec 20 2023 at 11:08 UTC