Open pradyunsg opened 4 years ago
LGTM.
new PR: apply S: awaiting review once CI passes (or on open?)
When CI passes. If someone wants a review before they have a clean CI, they can ask for one (with an explanation if needed) but I think it's good that we take the stance that CI passing is the basic criterion we'd expect.
I would apply S: awaiting review
once required CI passes - we don't want experiments with CI checks to mess up our workflow. I think this would be an improvement over the red X that currently shows on the PR overview page since an S: awaiting review
with red X would indicate that some secondary check has failed, not the main test suite/lints and it's probably worth taking a look.
I don't know if I would find S: awaiting merge
useful as-is - if I approve something and don't merge it immediately it is because:
in the first two cases keeping S: awaiting review
would indicate that someone should take a look and if that someone thinks it's OK to merge then they can do it at that point.
My goal with awaiting merge is to avoid PRs from lingering. Any suggestions on how we could do that? Maybe some combination of delays or something else entirely?
Maybe I'm misunderstanding. If the transition to S: awaiting merge
requires a maintainer action (the last person with "changes requested" approves) and it means that it can be merged, wouldn't that maintainer merge it?
Also what phase are we concerned about PRs lingering in? Awaiting review or response or approved but not merged?
Also what phase are we concerned about PRs lingering in?
Approved and not merged.
If PRs automatically get a label describing what state they're in, IMO it'll make it easier to handle PR reviews. To copy from CPython, I think we'd benefit from these labels:
S: awaiting response
(exists)S: awaiting review
S: awaiting merge
I think the approximate flow would be:
S: awaiting review
once CI passes (or on open?)S: awaiting response
S: awaiting review
S: awaiting merge
We'd still be able to manually apply these labels and if the above is the behavior of the bots, I don't think they'd fight us. Do others think this would be a good idea?