DevTools/Code Review Checklist: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (typo)
(Mark page for deletion after team discussion in https://github.com/devtools-html/rfcs/issues/37)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{delete|Moved to devtools docs (http://docs.firefox-dev.tools/contributing/code-reviews.html) |date=26 Feb 2018}}
This checklist is primarily useful for DevTools reviewers as it lists all points potentially important to check while reviewing code, but it can serve as a set of guidelines for patch authors too.
This checklist is primarily useful for DevTools reviewers as it lists all points potentially important to check while reviewing code, but it can serve as a set of guidelines for patch authors too.


Line 7: Line 9:
* Commit message says what is being changed and why as described here : http://mozilla-version-control-tools.readthedocs.org/en/latest/mozreview/commits.html#write-detailed-commit-messages
* Commit message says what is being changed and why as described here : http://mozilla-version-control-tools.readthedocs.org/en/latest/mozreview/commits.html#write-detailed-commit-messages
* Patch applies locally to current sources with no merge required
* Patch applies locally to current sources with no merge required
* Check that every new file introduced by the patch has proper Mozilla license header : https://www.mozilla.org/en-US/MPL/headers/


= Manual testing =
= Manual testing =

Latest revision as of 13:33, 26 February 2018

Do not edit this page THIS PAGE IS PROPOSED FOR DELETION 26 Feb 2018
Moved to devtools docs (http://docs.firefox-dev.tools/contributing/code-reviews.html)

This checklist is primarily useful for DevTools reviewers as it lists all points potentially important to check while reviewing code, but it can serve as a set of guidelines for patch authors too.

Bug status and patch file

Manual testing

  • Verify the feature or fix
  • Report problems in the global review comment
  • Decide which bugs need to block landing the change, and which can be fixed as follow-ups instead

Automated testing

  • Run new/modified tests, with and without e10s
  • Watch out for tests that pass but log exceptions or end before protocol requests are handled
  • Watch out for slow/long tests: suggest many small tests rather than single long tests

Code review

Finalize the review

  • R+ : the code should land as soon as possible
  • R+ with comments: there are some comments, but they are minor enough, or don't require a new review once addressed, trust the author
  • R cancel / R- / F+: there is something wrong with the code, and a new review is required