-
Notifications
You must be signed in to change notification settings - Fork 918
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
OpenSearchDashboards Code Review Process Proposal #3522
Comments
Agree. Would like to add up to @kristenTian's proposal the followings:
|
Had an discussion with @joshuarrrr, having the following add ups: For "Review on daily basis", Proposing a 2-day business day SLA on each engagement of the PR. For "Have project maintainers",
|
While I understand the immediate benefits of making those more familiar with an area, the PoC for PRs, I cannot convince myself that this will promote expansion of individual expertise. While we have not officially done so, we have kinda been doing what is being proposed here and I don't think we have expanded our expertise much. Take me as an example: after years on the project, I still deffer to others when it comes to visualizations despite always throwing myself into situations which will help me learn new things. With rotating on-calls, one would be "encouraged" to learn more, quicker! Also is a 2-work-days SLA for first engagement on PRs realistic, considering the number of hours maintainers will have remaining for actual coding? |
I agree with Miki here. While this proposal is in the right direction, it is a little too idealistic. From the PR swarm that we had 2 days ago, here is the proposed process: A few other callouts from the swarm:
|
@ashwin-pc On the left side of the diagram. If PRs are from OSD team, we assign the PR to the author. Could you elaborate on this part, that how an author from OSD team should drive his/her PR to get response/approval in time? |
I am seeing this graph from another repo https://github.com/DefinitelyTyped/DefinitelyTyped, which is helpful and could be used as a reference |
They can reach out directly to the OSD maintainers who they think are best suited to review the PR. That being said, you are right, this model calls for a maintainer to always be assigned to a PR, which might not always be the case. We can expand that section to mean "If the PR originates from the OSD team, that person is the primary asignee for the PR, but should assign another maintainer to review the PR". That way, the responsibility to get the PR reviewed is on the maintainer, but the responsibility to see the PR to completion is on the PR owner. |
Having a few ideas around code review process proposal would like to discuss with the team.
Review on daily basis
As the owner of the OSD repository, it should be our daily base duty to review PR submitted to the repo. An SLA should be set to improve the community’s trust. Instead of delegate this to Oncall (Single person).
Have project maintainers
As a general practice, there is a point of contact(POC) reviewer for each service package, we suggest having project maintainers (also mentioned in this proposal). As the repository and its use cases grow, it is not practical to assume all maintainers have the same context around everything. Therefore, maintainers should be assigned to each area based on their familiarities. While volunteering and learn and be curious are always recommended, having dedicated maintainers for each area can improve efficiency.
Follow through the PR
For each PR, the reviewer should try to follow through with the entire review process until either an approval or rejection is made. This helps to save the team's time overall by avoiding the need for others to redo the ramp-up process as the context accumulates.
The text was updated successfully, but these errors were encountered: