-
Notifications
You must be signed in to change notification settings - Fork 9
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
Planned changes on the status graph #29
Comments
A note on why |
Matching the new set of statuses in #29.
I think you have the naming of labels 3 and 4 swapped. |
Right, thanks for catching. Should be fixed now. |
Maybe "merger" could be "final_reviewer". The author would know that it is close to done, but might need more review, and regular reviewers would know a "final" review is special. |
Mh, "final" has a bit of the same problem as "merger (seems to suggest that the PR author shouldn't expect any additional rounds of review). At the same time it is a bit longer, so I think I prefer "merger" among the two. Thanks for the idea though :) |
Matching the new set of statuses in #29.
This is getting quite complex. |
Yes, but also a lot more useful. Its a tradeoff. I don't know of a good way of supporting
without a more complicated state graph. Feel free to suggest simpler alternatives. |
Implemented in #30 and already deployed. |
Maybe #40 can simplify. |
Trying to implement #23 has caused me to re-think the status labels. The intention from the beginning was to make PRs that need somebody (either any reviewer or a reviewer with commit bit) easy to find for the relevant people.
The
needs_review
andneeds_work
labels kind of do that, but they are not specific enough. We don't really care that much about the status of a PR which is currently in review. What do care about is which PRs are currently in need of a new reviewer.Supporting this needs a bit of a more complicated state graph. Here's what I have come up with:
The two interesting states are (2) and (5) (highlighted in blue). They entirely unambiguously mark PRs that need somebody new to look at them. This makes them easier discoverable for reviewers with some time to spare. It also makes it easy for marvin-mk2 to automatically triage them. The plan is to regularly
Also note that only a single transition (the green one) needs manual intervention. People seem (understandably) a bit hesitant to spam PRs with
/status
messages, so this should be an improvement. Manual changes should still be possible if the heuristics fail.Regarding naming of the labels, I'm thinking
(1) -> unlabeled / work_in_progress
(2) -> needs_reviewer
(3) -> awaiting_reviewer
(4) -> awaiting_changes
(5) -> needs_merger
(6) -> awaiting_merger
The text was updated successfully, but these errors were encountered: