-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Optimize review process #1848
Comments
Thanks for opening this issue!
|
I think it would be good to encourage contributors to submit their initial workings as "draft" reviews, so we can give them feedback on the technical approach prior to them perfecting their code. That way features that aren't going to be merged for certain reasons aren't required to meticulously refine test cases, syntax, etc. This would also help the collaborative approach of giving tips and pointers to new contributors for their draft PRs for where they should focus on, etc. This could allow newer developers to get involved without being expected to know the platform's ins and outs. Also, not sure if I recall correctly, but I think it's currently not possible to request a review unless you are part of the Organization. Of course, we would still expect issues to be opened to discuss issues and plan the approach, but the draft stage would be the first stage of the approach, where the commenters of the issue have the chance to vocalize issues and suggestions about the approach before the contributor spends considerable time on the issue. |
I really like the suggested approach here though Manuel and am looking forward to you creating (yet another) bot to help simplify our process for now and the future 😊 |
Just thinking as well - should the bot auto-mark a review as a "draft" if there are merge conflicts, the PR is outdated with the default branch, or considerable tests are failing? |
Yes, that is correct. The bot could do that though. |
@sadortun I think you also previously suggested to set PRs to draft initially - what do you think about this process? |
A few ideas,
GH have an Auto assign reviewers feature. Create a Reviewer team, (no need for members to have write access) Make sure to check https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-assignment-for-your-team#configuring-code-review-assignment If a PR went from Draft to Non-Draft after being reviewed, please don't set it back to draft. Draft should probably be used only to separate stuff thats WIP versus ready-ish) You should have a look at @DefinitlyTyped repos. It have a great state management. 100% overkill for Parse, but a good inspiration https://github.com/DefinitelyTyped/dt-mergebot https://github.com/DefinitelyTyped/DefinitelyTyped/pulls Basically it use tags to tell the status
Also make sure to search for an existing bot for this. Plenty of repos already have something similar |
Before anyone starts looking for a 3rd party GitHub Action or bot - we would be extending our custom Parse bot for any automation that we need in his regard. |
I think that's a good point @sadortun, maybe draft should be used for WIPs only and we should encourage PR contributors to request reviews from the respective reviewers where appropriate. We don't want features held up because PR reviewers aren't notified that features are ready, so perhaps we could encourage PR submitters to request reviews as they please. |
The bot could simply have a command for submited like :
Once a reviewer submited comments, the submitter will have the name of the reviewer and could just ask directly. If a reviewer thinks it's a WIP set the PR as Draft again |
New Feature / Enhancement Checklist
Current Limitation
The GitHub review process is not transparent:
GitHub does not seem to offer a way to restrict review requests to teams or give teams preference.
Feature / Enhancement Description
A proposal for discussion:
Current restrictions:
Example Use Case
n/a
Alternatives / Workarounds
n/a
The text was updated successfully, but these errors were encountered: