Po.et Documentation
Technical documentation for the Po.et Network

About Po.et
Use Po.et

Pull Request Reviews

When requested to review a PR, there are 3 possible options you can choose after reviewing: approve, request changes or comment.

PR Review Checklist

When reviewing a PR, copy the list below into the “Review summary” textbox when you accept/request changes/comment.

## PR Review Checklist
- Leave it blank if:
    - it needs more work (indicate what needs work in the comments 
    section below and/or inline with code comments) or
    - you skipped the item (indicate it was skipped in the comments)
- If the task is not applicable to the PR, please signal ([N/A])

* [ ] Tested changes manually
* [ ] Checked accidental architectural/style changes
* [ ] Reviewed entire diff
* [ ] Unit tests
* [ ] Documentation
* [ ] Filenames and locations

### PR Reviewer Comments

Checklist Details

PRs differ in size and scope, so not all PRs will require all of the checklist tasks, which are explained below in more detail. Please familiarize yourself with each of them.

  1. I tested the PR code manually and it works. (I downloaded the branch and ran the code to review/test the changes).
  2. I attest that changes are not accidentally introducing architectural or code style changes.
  3. I reviewed the entire diff and approve of the code changes.
  4. If code has been added, I have checked that new unit tests are included and verified that they work correctly.
  5. If documentation is needed, I have reviewed the documents and am satisfied that they cover the changes thoroughly.
  6. The added/edited files are named appropriately and located correctly in the project directory structure.

A simple change to the README file would only require the documentation item to be confirmed. Adding a new README would require the last two. A new feature being introduced would likely require all items.

PR Process

  1. New PR is created by PR creator and at least 1 PR reviewer is selected, including one from QE team if required (see below).
  2. PR creator self-assigns the PR, enabling everyone to scan down the list of open PRs and easily see who is responsible.
  3. PR reviewer references the PR checklist above to determine which items are relevant to the PR.
  4. PR reviewer reviews the code changes.
  5. PR reviewer decides whether to approve, request changes or comment.
  6. PR reviewer copies the PR checklist and paste it into his/her “Review summary” comment.
  7. PR reviewer completes each item in the checklist to confirm the PR satisfies all requirements.
  8. PR creator only merges PR if (a) at least one PR reviewer approves AND (b) all relevant items from the checklist have been filled-in and completed.

QE Review Requirement

QE should review all additions and new features: all major/minor code changes or bug fixes to functional or testing code. In fact, they should be involved with the definition of “done” for the checklist tracking ticket for all major new features, and capture those requirements in automated functional tests.

QE should NOT be required for documentation-only updates (unless the documentation defines new features we plan to build, and their feedback is necessary to help define the definition of done for that feature).