aiprrevieweraiprreviewer
Sign in

Live demo

AI reviews on GitHub pull requests.

Preview a sample review below — no account required. Sign in with GitHub to install the app on your repositories.

Sample output

Files, inline notes, and a summary.

Switch between Files and Conversation to see what the bot posts on a pull request. Sign in only when you want this on your own repos.

Retry GitHub file pagination instead of failing the whole review

you/demo-repo

Example output

Inline notes only on added (+) lines — same rule as production.

async function listPullFiles(octokit, pull) {
− return octokit.pulls.listFiles(pull);
+ const files = [];
+ for await (const page of octokit.paginate.iterator(
+ octokit.rest.pulls.listFiles,
+ { ...pull, per_page: 100 }
+ )) {
+ files.push(...page.data);
+ }
+ return files;

features/reviews/server/pr-files.ts:42

Cap retries (and sleep with backoff). Without a max, a bad token or secondary rate limit can keep this step running until Inngest times out.

features/reviews/server/pr-files.ts:58

Skip lockfiles here too, or the 100k character budget is spent on yarn.lock before the real diff reaches the model.

  • Inline comments are filtered to added lines so GitHub does not reject the review.
  • Diff is capped at 100k characters (not tokens). Lockfiles are skipped.
  • A second model judges the review. If the judge is down, the original still posts.

After a public demo PR exists, this panel loads that PR live. Until then these are the same kinds of comments the pipeline posts.

Sign in with GitHub

1. Connect

Install the GitHub App on the repos you want reviewed.

2. Optional sync

Index a repo so comments can cite nearby code, not just the diff.

3. Open a PR

Reviews run in the background and post on the PR (inline + summary).