Your first review
Add a repository, run a review of a pull request, decide on the findings, and publish a comment after checking its preview.
This guide takes you to a published review. It assumes you have installed DiffNode, signed in to a Git host CLI and set up an AI agent.
Nothing in these steps posts to your Git host until you confirm the preview at the end, unless you chose Automatic as the review style in the first-run setup (see below).
Add a repository
If you finished the first-run setup, your first repository is already added. To add another one, choose + next to the environment in the left panel (for example Add repository to This computer).
- Under Where is the repository?, choose From a Git host or Local folder.
- From a Git host: paste a URL or
org/repointo Repository URL or org/repo, for examplehttps://example.org/org/repo. You can also pick one from Your repositories on this host. - Local folder: choose the folder that contains your clone. One of its remotes must point to GitHub, GitLab or OneDev.
- From a Git host: paste a URL or
- DiffNode checks the repository with your Git login, reading only. It shows Repository found and whether your account has write access or is read only.
- Choose the AI integration the project uses. The default AI integration is preselected when it can be used.
- Choose Add repository.
DiffNode never changes a local folder: reviews run in a separate checkout that DiffNode manages.
A repository added here starts fully manual: you start each review, you decide on each finding, and you confirm each publication. The first-run setup is the exception: its Automatic review style turns on full automation for that project, which reviews new pushes after CI passes and posts accepted findings after a countdown. To change either, see Automation modes.
Pick a pull request
Select the project to see its open pull requests with CI, review state, findings and publication. Use the quick filters and search, then choose a row or View details.
The pull request page shows the title, CI, the size of the change and the commit, plus the account, model and reasoning effort the next review will use. Settings on this page changes them for this pull request only; see Pull request review settings.
Run a review
Choose Run review. The menu next to it offers variants for this run only: Run full review or Run incremental review, a Review depth for this run, Run without false-positive filter and Run with verification pass.
Before the review starts, DiffNode checks the hourly and daily start limits and the usage of your AI account. If a limit is reached, a dialog explains why. Run once anyway starts this one review over the app's start limits; it still counts toward them and changes no settings.
A large change stops before any AI work with Large review needs confirmation. By default this happens above 30 reviewed files or 3,000 changed lines. Nothing has been spent at that point. Choose Run to confirm this review once. If changes of this size are normal in the project, Adjust project settings first raises the project's thresholds after you confirm, so they stop asking; the stopped review still starts only with Run.
While the review runs, you see its progress. It reads the pinned commits only and never runs your project's code, builds or tests. Cancel run… stops it after you confirm, and the usage recorded so far is kept.
Read the findings
When the review finishes, each finding has a severity, a title, an explanation and the code it refers to. The Coverage tab lists which files were reviewed, which were excluded and why.
From a finding you can:
- Open in diff on your Git host, at the file and lines of the finding.
- Open in editor, which opens the file from the review checkout on this computer. Choose your editor in App settings → Editor on this computer.
A review marked partial did not cover every selected file. It says so wherever it is shown. A partial review can only be published manually, and you must confirm that you understand it is partial.
Decide on each finding
For each finding, choose one of:
- Accept finding to include it in the comment.
- Reject / False positive to leave it out.
- Defer for later to decide another time.
Only accepted findings are published. The project list shows Findings to review, then Ready to publish.
Preview and publish
- Choose Preview & publish. The Review publication dialog opens.
- Choose Prepare draft (or Refresh draft). DiffNode checks the current Git identity and pull request revision and builds the exact comments from the accepted findings. Nothing is sent yet.
- Read the preview. Formatted shows the comment as it will look; Raw Markdown shows the exact text that will be sent.
- Choose Publish comment…. The confirmation shows the repository, the commit and the account that publishes.
- Choose Confirm publication.
DiffNode publishes as the Git account you are signed in with, never as the AI. The Publication style setting decides the shape: by default, a comment on the changed line for each finding plus one summary comment. See Review behavior.
A published review is a comment. DiffNode does not approve the pull request unless you turn on approvals (see Approvals), and it never merges.
If sending is interrupted, the run shows that publication needs attention. Reload status only reads the Git host to see what arrived. Retry publication sends the rest and skips comments that are already there, so nothing is posted twice.
Review new commits
When the pull request gets new commits, the button changes to Review new revision. By default the next review reads only the changes since the last successful review and checks each earlier finding again. Findings that were already published are not posted again, and the summary links to the earlier review. A finding marked fixed by the AI is not the same as your confirmation: use Confirm fix to confirm it yourself.
To control what a repeated review reads, see Repeat review scope in Review behavior.