Code Review

Set up Code Review

This page walks you through connecting Solidafy Code Review to your GitHub organization: installing the GitHub App from the Solidafy portal, choosing repositories, and getting your first review.

Before you start

You need:

  • A Solidafy organization with Code Review turned on. Code Review is enabled per organization by Solidafy. If you don't see Code Review under Settings in the portal sidebar, ask your Solidafy contact to enable it.
  • Permission to install GitHub Apps on your GitHub organization (an organization owner). If you don't have it, you can still start the install: GitHub sends the request to an owner for approval.

1. Start the install from the portal

  1. Sign in at portal.solidafy.com.
  2. Open Settings > Code Review in the sidebar.
  3. Under GitHub connection, click Install the GitHub App.

You're taken to GitHub's install screen for the Solidafy Code Review app.

If your organization has Apps, you can start from Apps > Review Agents instead. Its Start screen installs the same GitHub App first and then sets up the Review Agents app in the environment you're in. Choosing repositories on GitHub, credits and making the check required work the same either way.

Warning: Always start the install from the portal. The portal link carries a signed token that ties the GitHub installation to your Solidafy organization. An installation that isn't linked to a Solidafy organization doesn't review anything.

2. Choose your repositories on GitHub

On GitHub's install screen:

  1. Pick the GitHub organization (or account) to install on.
  2. Choose All repositories, or Only select repositories and pick the ones you want reviewed.
  3. Confirm the install.
  4. GitHub then asks you to authorize the Solidafy Code Review app for your own GitHub account. Authorize it. This is how Solidafy checks that the installation is yours to connect: it's connected only when it's on your own GitHub account or on a GitHub organization you're an admin of. The authorization is only used for that check and is revoked straight after.

GitHub then sends you back to the portal's Code Review page, which shows one of these:

MessageWhat it means
GitHub App installed and connected to this workspace.The installation is linked to your organization.
Your install request was sent to a GitHub organization owner for approval. It connects once approved.You don't have install rights on that GitHub organization. An owner has to approve the request on GitHub.
We could not complete the GitHub App install. Please try again.Something went wrong. Click Install the GitHub App again.

You can change the repository selection later in GitHub: open your GitHub organization's Settings > GitHub Apps, then Configure next to the app. Repositories you add are picked up automatically.

3. Wait for setup to finish

After the install, the portal finishes setting up Code Review for your organization. GitHub connection shows Setting up code review for your workspace and refreshes on its own until it shows Connected.

If setup fails, it shows the error and a Retry button.

When the connection is ready, the page's other tabs open: Review settings, Guidance, Ticket lookup, Registry credentials, MCP tokens (in an organization that has the code index MCP server) and Dashboard. They're covered in Configuration and Private registries.

4. Make sure you have credits

Reviews are paid for with prepaid credits. Before your first review, check your organization's balance under Manage organization > Billing, where an organization owner or admin can buy credits. Without credits, the check fails with out of credits and no review runs. See Billing.

5. Get your first review

Open a pull request (not a draft) on one of the repositories you selected. Then:

  1. A Solidafy Code Review check appears on the pull request, in progress.
  2. When the review finishes, findings appear as inline review comments, and a summary comment walks you through the change and shows the verdict.
  3. The check passes or fails depending on whether there's an unresolved blocking finding, and the app approves the pull request or requests changes to match.

If your pull request is a draft, the app posts a comment explaining how to get it reviewed instead (add the solidafy-review label, comment /review, or mark it ready). See Draft pull requests.

To stop pull requests with blocking findings from being merged, add Solidafy Code Review as a required status check in your GitHub branch protection rules or rulesets for the branches you care about. GitHub generally only offers a check for selection once it has run in the repository, so it's easiest to do this after your first review.

Next steps

  • Teach the reviewers about your codebase with .review-agents/ files and organization guidance: Configuration.
  • Let reviews resolve private packages and Helm charts: Private registries.
  • See how to respond to findings: Responding to findings.
  • Follow review activity on the Code Review dashboard: open it from the Dashboard tab of the Code Review settings page.
  • See findings, reviewed pull requests and your dependencies' vulnerabilities and licenses across every repository: Review Agents app.
  • Give your coding agent the same code index the reviewers read: Code index MCP server.

Disconnecting

To stop reviews, uninstall the app from your GitHub organization (Settings > GitHub Apps > Configure > Uninstall). Reviews stop for every repository, and the portal's Code Review page goes back to showing Install the GitHub App.