Projects and pull requests
What a project holds, how to read its pull request list, how settings are inherited, and how to archive, restore or delete a project.
A project is one repository in one environment, with its settings, pull requests, review runs and findings. The same repository in another environment is a separate project (see Environments). To add one, see Your first review.
The pull request list
Select a project to see its pull requests, with Change and branch, Author & CI, Last push, Review run & outcome, Findings and Publication. The CI chip lists the single CI jobs; Open goes to the pull request page.
Last push and review freshness
Last push is when the head commit last changed. A tag names the source: push, force-push, commit date or first seen (when DiffNode first saw the commit).
Below the time, the review freshness says whether the latest review still matches the code:
- Up to date: the latest review is of the current head and is complete.
- Partially reviewed: the latest review of the current head is partial.
- N new commits since review: the head moved on by that many commits.
- Reviewed earlier version: the head moved, but by an unknown number of commits, for example after a force-push.
- Not reviewed: no review yet. Hover over it to see why.
Unknown is never shown as zero.
Review states
After a review finishes, Review run & outcome says what is left to do:
- Findings to review: some findings wait for your decision.
- Ready to publish: every finding is decided, but nothing is posted yet.
- Findings published: the result is on the pull request.
- Publication needs attention: sending failed or its result is uncertain. This state wins over the others. See Troubleshooting.
- No open findings: every finding was fixed, rejected or settled.
- No findings: the review found nothing.
Filters and search
- Quick filters: Open PRs, Needs attention, Completed, Queued and Tracked closed. Needs attention collects pull requests that wait for you: findings to review, a review ready to publish, a publication that needs attention, an outdated review, a failed or interrupted run, an unanswered size confirmation and incomplete coverage.
- Show: All PRs, Assigned to me, My PRs or Team PRs. This only changes the view.
- Search filters by pull request, author or branch.
Tracked closed shows closed or merged pull requests DiffNode has seen. Merging is not proof of a fix, so Verify previous findings can check earlier findings against the last commit. That check is never published.
Project settings and pull request settings
Settings come in layers. A lower layer wins only where you change a value:
- App settings of the environment, for example the default Verification pass or Approvals.
- Project settings, with sections such as AI defaults, Review behavior, Review engine, Review profile, Review skills, Repository rules, Limits and sync and Cleanup.
- Pull request settings, opened with Settings on the pull request page: Review settings, Review engine and Approvals.
- One run, from the menu next to Run review. These choices change no settings.
In the pull request settings, each field offers Default with the value inherited from the project. Only fields you change are saved. Use project defaults removes the whole override after you save. An override applies to manual and automatic reviews of that pull request; a running review keeps the configuration it started with.
See AI defaults and Pull request review settings in the settings reference.
Where reviews read the code
DiffNode never changes a local folder you added. It keeps its own copy of the repository, and each review runs in a separate checkout of the reviewed commits. After a successful review, the checkout stays, so Open in editor can open the file.
Cleaning up checkouts
App settings → Cleanup sets the defaults of the environment:
- Delete workspaces of merged or closed PRs: on by default.
- Delete inactive workspaces: off by default. When on, it removes checkouts of open pull requests after Days without a new review (14 by default).
Project settings → Cleanup can inherit or override each option. Cleanup runs after the pull request list refreshes, or at once with Clean up now. It removes only checkouts, never results or history, and never one a review is using. Archive workspace in the Run review menu removes the checkouts of one pull request.
Archive, restore or delete a project
These actions are in Project settings under Danger zone. Each asks for confirmation.
- Archive project deletes the checkouts and the copy of the repository and cancels waiting reviews. Results, findings, history and settings are kept. It is not possible while a review runs.
- Restore: add the same repository again. The dialog says when it was archived and offers Restore, which brings back the original settings and history, or Start fresh, which deletes the old project and adds it again from the form. Automatic publishing comes back only if the environment allows it at that moment; otherwise the project returns with manual publishing.
- Delete project removes the project with its settings, reviews, findings, publication records and history. To confirm, type the repository as
org/repo. It is refused while a review runs or a publication is being sent or is uncertain. Comments already posted on the Git host stay, and so do the usage and start-limit records of your AI accounts.