Environments

Where reviews run, this computer or your own server, what each environment keeps for itself, and how DiffNode avoids reviewing a pull request twice.

An environment is where reviews run: this computer, or a DiffNode server on your own machine that the desktop reaches over SSH. Every installation starts with This computer. You can add servers in Environments, at the bottom of the left panel.

What belongs to an environment

Projects, review runs, CLI sign-ins, quotas and budgets belong to the environment they were added to. Nothing is copied between environments. Each one has its own:

  • AI integrations. Codex, Claude Code and Antigravity are signed in on the machine that runs the reviews. API-key integrations exist only on this computer.
  • Git integrations. A server reads pull requests and fetches repositories with the Git logins signed in on the server. This computer never sends it your Git credentials.
  • Projects. A project lives in exactly one environment. A local folder can be added only to This computer; a server adds repositories from a Git host.
  • Queue. Each environment has its own queue. The Queue page lists them all, and you pause or resume each one separately.
  • Limits and budgets. Start limits and usage are counted per real AI account in that environment. Daily limits and automatic review hours use the environment's time zone.
  • App settings. Some settings, such as Automatic reviews and the Default AI integration, are separate in each environment.

The left panel shows each environment with its projects, grouped by organization. The icons next to the environment name open its AI and Git integrations and Add repository. Choosing a project switches the workspace to that environment, so a review you start there runs there.

To set up a server, see Adding a server. For what the server keeps and what stays on your computer, see What runs on the server.

The same repository in several environments

You can add the same repository to this computer and to a server. DiffNode then keeps two separate projects. Reviews are not shared or synchronized between them; each environment shows only what it read from the other one.

When you add the repository

If the repository is already a project in another environment, Add repository warns you: Already a project in followed by the environment and its mode. The main button becomes Add anyway (Manual). A project added this way starts fully manual, whatever the form would otherwise use, so it does not review or comment on its own.

If DiffNode cannot tell, for example because the other environment is not connected or its projects have not loaded yet, it says Not checked in that environment instead of claiming there is no project.

While you work

  • The project header shows Also in and the other environment, with its mode. Its tooltip reminds you that reviews are not shared.
  • The pull request page shows Also reviewed in the other environment, with the time, the commit, the number of findings and who published it. It warns when that review is older than this head.
  • The pull request list shows a chip under the title with the other environment's name and whether it reviewed or published the pull request.
  • If both environments review the repository automatically, the project page shows Both environments review this repository automatically. Switch to Manual opens this project's settings with the manual trigger filled in; it changes nothing until you save. Keep both hides the banner on this device.

How DiffNode avoids double reviews

Every review DiffNode publishes carries a hidden marker in its summary. The marker names the environment by a random ID, never by its name.

Before every write to the pull request, DiffNode reads the pull request's comments and looks for markers from other environments. It reads them again before each further write, for example before the inline comments that follow the summary.

  • Manual publishing: the confirmation shows "This pull request already has a DiffNode review, posted from" the other environment, with the time and commit. Keep as draft sends nothing. Publish anyway posts this review too.
  • Automatic publishing: DiffNode never posts. It holds the draft and marks the run Needs attention in the Inbox, so you can decide.
  • A review appears while sending: the next write is not sent. What was already posted stays. Retry publication checks again and asks for Publish anyway before it continues.

If the Git host does not show the markers, the result is unknown, and DiffNode treats it like a possible duplicate: automatic publishing holds the draft, and manual publishing needs Publish anyway.

What "unknown" means

When a server is not connected, this computer cannot read its projects or reviews. DiffNode then never says "no review". Instead you see, for example, that the server is not connected, so its reviews of this pull request are unknown, with the time it was last seen and a Reconnect button.

This computer remembers only which repositories each server had and when it last read them. It keeps no review data from other environments.

A disconnected server keeps running its own queue. Closing the desktop does not stop it either. When you connect again, the server's projects and results appear as they are.