Skip to content

Reviews

How reviews work

Learn what starts an Appwrite review, what the reviewer reads, how it checks its findings, and when it reviews a pull request again.

3 min read

Raw

Pull request on GitHub where the reviewer requested changes, with a Tier B summary and a Major finding as an inline comment on the changed line
Pull request on GitHub where the reviewer requested changes, with a Tier B summary and a Major finding as an inline comment on the changed line

Every review goes through the same four steps, from the change on the pull request to the comments posted on it.

  1. A pull request changes: Appwrite queues a review when a pull request is opened, reopened, or marked ready for review, and when new commits are pushed to it. If several pushes arrive before the review starts, only the latest commit is reviewed.
  2. The reviewer reads the code: It checks out the pull request, starts from the diff, and searches the whole repository for the callers and definitions a change touches, so a finding can point at the code a change breaks. It also reads the issues the pull request links to and the checks that failed on it. Depending on the strength, it can run tests, type checkers, and short scripts in an isolated sandbox.
  3. Findings are verified: A second pass checks every finding against the code before anything is posted.
  4. The review is posted: Findings appear as inline comments on the pull request, together with a summary and a verdict. On GitHub, the review also adds a check run to the commit.

To review only when someone asks, turn off automatic reviews with reviews.auto. Draft pull requests wait until they're marked ready for review, unless you turn on reviews.drafts.

New commits

After new commits, the reviewer reviews only what changed since its last review and updates its summary. Commits that only merge the base branch into the pull request don't start a new review.

To review the whole pull request again at its latest commit, request a review in a comment.

Statuses

StatusMeaning
QueuedThe review is waiting to start.
ReviewingThe reviewer is reading the code.
CompletedThe review was posted on the pull request.
SkippedThere was nothing to review.
FailedThe review couldn't finish. Its page in the Console says why.

A review is Skipped when every changed file is excluded by a path filter, or when the diff is too large to review. Its page in the Console says which.

Files skipped by default

Some files are left out of every review: binary files, lockfiles, test snapshots, generated output, build output (dist, build), vendored code (vendor, node_modules), minified files, source maps, images, PDFs, and fonts.

At strengths that run commands, lockfiles, snapshots, and generated output are reviewed too, since the reviewer can install, build, and test to check them. A path you list in reviews.pathFilters without ! is reviewed even if it's skipped by default.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.