Skip to content
Appwrite Reviews

Every pull request, reviewed

Appwrite Reviews reads each pull request on your Sites, Functions, and repositories, and posts a summary, findings on the lines they concern, a verdict, and a merge confidence grade. It runs on the same Git connection, Console, and bill as your deploys.

Retry sign-in with backoff#482

src/auth/retry.ts

18for (let attempt = 0; ; attempt++) {
19+ await signIn(email, password)
20}

appwriteMajor

A wrong password retries forever

Stop on a 401 and cap the attempts.

BNeeds changes before mergingChanges requested
On GitHub, GitLab, and Bitbucket
Every PR
Merge confidence on every review
S to F
Each finding checked before it posts
Verified
Credits from your Appwrite plan
No seats
For new Sites and Functions
On by default

On where your code already ships

Create a site or function from a repository and Review pull requests is already on. Turn it on for any other repository on GitHub, GitLab, or Bitbucket from the Repositories tab, one switch at a time or all at once.

Create siteConfigure

Review pull requests

Appwrite reviews each pull request when it is opened or gets new commits, and comments on it.

Reviews use your organization’s review credits.

Repositories

Review all
  • acme/storefrontReviewed
  • acme/checkout-apiReviewed
  • acme/billingOff
  • acme/docsReviewed

A review on every pull request

When a pull request opens or gets new commits, the reviewer posts one summary that it edits in place: what changed, a verdict, and a merge confidence grade from S to F, with the findings, a walkthrough, and what was fixed since the last review. New commits get an incremental review of just what changed.

appwritebotedited

Code review

CommitTierVerdicte4f5a6bAMergeable after minor fixesCommented

Sign-in now stops on a wrong password and caps retries at five. One minor finding is left: the backoff ignores the Retry-After header.

Latest changes

Stops retrying on 401 responses and adds a limit of five attempts.

  • Findings2
  • Fix with agent prompt
  • Walkthrough4 files
  • Fixed since the last review1

To re-run it, comment: @appwrite review

Findings on the lines they concern

Each finding lands on the changed line with its severity, its category, and a plain explanation. When the fix is small, local, and certain, it comes as a suggested change, and every finding carries a prompt to fix it with AI.

src/auth/session.ts

31 const token = createToken()
32+logger.info('session', { token })
33 const hash = await hashToken(token)

appwritebot

Majorsecurity

Token is logged before it is hashed

The raw session token reaches your logs on every sign-in. Log the session ID instead.

Suggested change

-logger.info('session', { token })

+logger.info('session', { sessionId })

Prompt to fix with AIReply if this doesn’t apply.

Grounded in your code, checked before it posts

The reviewer searches the whole repository at the pull request’s head for the code a change touches, and reads your team’s guideline files, linked issues, and failed checks from your other CI apps. On Normal and Expert it can run commands in an isolated sandbox to confirm a suspected bug, and a second model checks every finding before anything is posted.

  • The diff and the repositoryRead at the pull request’s head
  • Your team’s guidelinesAGENTS.md, CLAUDE.md, CONTRIBUTING.md
  • Linked issuesWhat the change is for
  • Failed checksFrom your other CI apps
  • Dependency changesVersions bumped in the lockfile
  • LearningsRules your team asked it to keep

TraceIncremental review

  1. Read filesrc/auth/retry.ts
  2. SearchsignIn(
  3. Run commandnode scripts/try-retry.mjs
  4. VerifiedKept 3 of 5 findings
  5. Posted3 comments and a summary

A second model checks every finding against the code before anything is posted.

Talk to the reviewer

Reply to a finding or mention the app with a question. It reads the code to answer, settles the thread when you are right, and holds its ground on bugs and security issues until the facts say otherwise. An answer costs 1 credit, and settling a finding is free.

appwriteboton src/mail/send.ts

Minorerror-handling

Errors from sendEmail are swallowed

aanajust now

@appwrite this is fine, the queue retries failed sends.

appwritebotjust now

Confirmed in the mail queue: failed sends retry three times, then land in the dead-letter queue. Dismissing this finding.

Dismissed

It remembers how your team works

Ask it to remember a preference in any pull request and it becomes a learning that later reviews and answers in that repository follow. See every learning in the Console, who asked for it, and remove the ones you no longer want.

bbenon #491

@appwrite remember: we use early returns instead of nested ifs.

appwritebot

Saved. Later reviews and answers in this repository will follow it.

Learnings

  • Use early returns instead of nested ifs.acme/storefrontben
  • Never log tokens, even hashed ones.acme/storefrontana
  • Read rows with Query.select, not whole documents.acme/checkout-apisam

Choose how hard it looks

Set a strength per repository. Basic reads the code with cheaper models, Normal runs commands in a sandbox, and Expert splits the work across subagents with stronger models. Each review costs credits from your plan, with no per-seat fees.

Review strength

How hard pull requests are reviewed, and what each review costs.

BasicCheaper models that read the code without running it10 credits per review
NormalDefaultThe default models, running commands in a sandbox50 credits per review
ExpertStronger models that split the work across subagents500 credits per review

Ready for your coding agents

Pull requests from coding agents get reviewed like anyone else’s. The summary and every finding include a prompt to hand to your agent, and Appwrite agent skills read the review, push fixes, and ask again until the pull request reaches Tier S.

Coding agent

>Get acme/storefront#482 to Tier S

appwrite-review-statusTier B

Fix: a wrong password retries forever

Edit src/auth/retry.ts: stop on 401, cap at 5 attempts

git push, then comment @appwrite review

appwrite-review-statusTier S

See what it catches

The Performance tab shows pull requests reviewed, how many were approved and how many on the first try, findings per pull request, how often findings were fixed rather than dismissed, and the median review time, by author, repository, and category.

Pull requests

128

412 reviews

Approved

72%

48% first try

Findings / PR

1.8

6 critical

Useful

81%

Fixed, not dismissed

Findings by category

FixedStill openDismissed
  • bug
  • security
  • error-handling
  • maintainabilityNoisy

A learning can tell the reviewer to flag fewer of them.

From pull request to production, on one platform

Reviews is part of the project that builds, hosts, and watches your app. The pull request it reviews deploys to Sites and Functions, Monitors watch what you merged, and Beep pages your phone when something needs you, all in one Console and on one bill.

GitHubGitLabBitbucketGiteaOrigin
  1. 01ConnectOne Git connectionThe Appwrite Git app that deploys your Sites and Functions reviews their pull requests too.
  2. 02ReviewAppwrite ReviewsA summary, findings on the lines they concern, a verdict, and a grade on every pull request.
  3. 03DeploySites and FunctionsA preview for the pull request, then production on merge, with rollbacks one click away.
  4. 04ObserveAppwrite MonitorsUsage thresholds and endpoint checks tell you when what you merged misbehaves.
  5. 05RespondAppwrite BeepThe alert reaches your phone, and the next person in line if nobody acknowledges it.
  • One Console
  • One organization bill
  • Same team and roles
  • No per-seat fees

FAQ

Appwrite Reviews is AI code review built into Appwrite. It reviews every pull request on the repositories you turn it on for, and posts a summary, findings on the lines they concern, a verdict, and a merge confidence grade from S to F on the pull request, with the full review and its trace in the Console.

GitHub, GitLab, including self-managed GitLab, and Bitbucket. On GitHub the reviewer is the same Appwrite app that deploys your Sites and Functions. On GitLab and Bitbucket it comments as the account that connected the installation.

When a pull request is opened, reopened, or marked ready for review, and again when it gets new commits, which are reviewed incrementally. Mention the app with “review” to run it again. Drafts and closed pull requests are skipped.

The pull request and the repository: the diff, the code at the pull request’s head, the title and description, linked issues, failed checks from your other CI apps, dependency changes, and guideline files such as AGENTS.md, CLAUDE.md, and CONTRIBUTING.md. It doesn’t read your Appwrite project’s databases, files, logs, or secrets.

It posts a verdict with every review: approve, request changes, or comment. The verdict and the grade cap are decided by code from the findings, not by the model, and a pull request from someone without write access is not approved by default. Each review also posts a status check, so your branch rules can require it.

Yes. Reply to any of its findings or mention the app with a question. It reads the code to answer, can resolve or dismiss a finding when the conversation settles it, and can save a learning for later reviews. An answer costs 1 credit, and resolving or dismissing a finding is free.

Reviews use credits from your Appwrite plan, with no per-seat fees. A Basic review uses 10 credits, Normal 50, and Expert 500. Free includes 100 credits a month for your organization, and Pro includes 2,000 a month per project. On paid plans, extra credits cost $1 per 100. An answer costs 1 credit. Failed reviews, skipped reviews, and replies that resolve or dismiss a finding are free.

Self-hosted instances can opt in by running the review service with their own model provider. Reviews there read the code without running commands in a sandbox.

Review your next pull request

Turn on Reviews for a repository, open a pull request, and get a summary, findings, and a merge confidence grade where you already work.