Review behavior
In the app: Project settings → Review behavior. Each field below has the same help next to it in the app.
Repeat review scope
What a second or later review of a PR reads. The first review is always full, and a PR can override this.
- Incremental
- Reads only the changes since the last completed review and rechecks its findings.
- Full
- Reads the whole pull request again every time.
Review language
The language new findings are written in. Same as app default follows App settings → General.
PR comment language
The language of comments posted to the PR. Same as app default follows App settings → General.
Automatic translation
Matters only when publishing is automatic and the review and PR comment languages differ.
- On
- Comments are translated once before posting. If that fails, nothing is posted and the draft waits for you.
- Off
- Automatic publishing posts in the review language, and the summary says so.
Trigger
Whether reviews start by themselves.
- Manual
- A review starts only when you run it.
- Automatic
- While the queue runs, it adds new and updated PRs by itself.
Good to know: Every review uses tokens of the AI account. After a restart the queue stays paused until you resume it; a server update you start from the app keeps it running.
Automatic review hours
When automatic reviews may start. Outside the hours they wait in the queue; manual and running reviews are not affected.
- Same as app settings
- Follows App settings → Automatic reviews.
- Any time
- Automatic reviews may start at any time.
- Custom
- This project's own days and time. Waiting reviews start by themselves when the hours begin.
Days
A window of automatic reviews starts on each selected day at From and ends at To.
Time
In the environment's budget time zone, the one its daily limits use. Changes of daylight saving time are respected.
- To before From
- The window continues past midnight into the next day.
- To 00:00
- The window ends at midnight.
Quiet period after a push
Minutes an automatic review waits after the last push, so quick follow-up pushes are reviewed once. 0 turns it off.
Good to know: Counts from the push time the Git host reports. A head this app only first saw, e.g. after a restart, does not wait. Manual and running reviews never wait.
Automatic review authors
Whether automatic reviews skip PRs you opened yourself. You can still review them manually.
- All pull requests
- Includes your own PRs.
- Other authors only
- Skips PRs whose author is your Reviewer Git account.
Finding acceptance
Who accepts findings after a review. It does not change when reviews run or publish.
- Operator
- You accept, reject or postpone each finding.
- Automatic
- Findings the review confirmed against the exact code are accepted for you.
Good to know: Confirming that a finding was fixed is always up to a person.
Publishing
Whether results are posted to the PR by themselves.
- Manual
- Results stay a local draft until you check the preview and confirm it.
- Automatic
- After a countdown you can stop, a complete result is posted without asking; a decision only if that is Automatic.
Good to know: Automatic publishing needs automatic finding acceptance. Posts under the connected Git account, or the server's when a remote environment may publish. Partial or failed reviews are never posted automatically.
Publication countdown
How long an automatic publication waits before it posts, so you can hold it as draft or publish it at once.
Good to know: Hold as draft switches only that run to manual publishing. A countdown cut by a restart or a settings change never posts by itself. 0 posts at once.
Publication style
The shape of what is posted. Approving or requesting changes is a separate setting below.
- Review
- A comment on the changed line for each finding, plus a summary.
- Single comment
- One summary comment that lists every finding.
Good to know: On GitLab a request for changes goes only together with publishing the review, so it needs the Review style.
Approve and request changes
Whether DiffNode may approve the PR or request changes. The app decides from the open findings at the reviewed head, never the model.
- Off
- Comments only, the default. A review run while Off gets no decision even after you turn it on; run it again.
- Manual
- The publication preview proposes the decision; it is sent only when you tick it and confirm.
- Automatic
- Automatic publishing also sends the decision, last. Manual publishing asks as with Manual.
Good to know: Written to the Git host as the publishing account after the comments; by a server only while it may publish. Never for own PRs, nor automatically over another decision or flagged files: then comments and a warning.
Approve when open findings are at most
The highest open-finding severity that still allows an approval. Pending or deferred findings, uncertainty and unreviewed files block it.
- No open findings
- Approves only without open findings. The default.
- Suggestions
- Approves when only suggestions are open.
- Minor findings
- Approves when only minor findings and suggestions are open.
Good to know: Must stay below Request changes from. Deferring a finding is not consent to merge, and a partial review never approves. OneDev PRs are never approved: an approval there can't be tied to the reviewed commit.
Request changes from
Accepted findings of this severity or higher request changes. Pending findings and questions of the verification pass never do.
- Critical
- Only critical findings request changes.
- Major
- Major and critical findings request changes. The default.
- Minor
- Minor findings request changes too.
- Never
- DiffNode never requests changes.
Good to know: Between the two thresholds the result is a comment only, for example a minor finding with the defaults.
Withdraw stale approvals
When new commits bring findings above the threshold, an earlier DiffNode approval is withdrawn by the account that gave it.
- On
- On GitHub withdrawn right after such a review, also with manual publishing. Elsewhere the PR page offers it.
- Off
- The PR page offers to withdraw the approval instead.
Good to know: Automatic only on GitHub, where DiffNode dismisses exactly its own approval, and on a server only while it may publish. On GitLab, after a partial review or for a hand approval: Withdraw approval on the PR page.
Require passing CI
A condition for automatic reviews: wait until the PR's checks pass.
- On
- Automatic reviews start after the checks pass.
- Off
- Automatic reviews do not wait for the checks.
Draft pull requests
A condition for automatic reviews: whether draft PRs are reviewed.
- On
- Draft PRs are reviewed automatically too.
- Off
- Automatic reviews skip draft PRs.