docs/contribute/code_review.md
MDC Web team members review every single pull request (PR) before it is merged into the code base. We aim for a quick review process, but without sacrificing good component APIs and code maintenance.
We currently have six team members, and we normally have bandwidth to respond to two PRs each a day (thats twelve PRs total). We do NOT have a service level agreement to respond to PRs within some timeframe. If there are lots of PRs to review, then we simply might not get to yours for a couple days.
Once a MDC Web team member has started reviewing a PR, they will be the only point of contact until the PR is closed. The reviewer should self-assign so that other team members don't review the same code.
If an MDC Web team member requests changes, and the contributor hasn't responded in more than two weeks, the reviewer might close the PR. This saves our sanity of having too many open pull requests.
If the tests are failing, or the demo does not work, request changes from the developer before reviewing the contents of the PR.
An API should be in it's simplest form! Check each of these developer facing APIs:
Reference naming best practices as necessary. Verify the documentation follows README standards. If you have large concerns with the API design, send those comments first before diving into the rest of this checklist.
CSS needs to be visually verified. So run the catalog server and:
Verify there is no decrease in code coverage!
Once you're satisfied the component actually works, comment on ways to improve the code. Reference isolation best practices as necessary.