Skip to main content

Change Reviews Automation

Configure which automated checks, unit tests, validations, AI code review, Apex tests, run when a review opens or updates.

Try it in Serpent

Change Reviews Automation controls which checks run automatically whenever a review opens or updates, so the same checks apply to every change without anyone running them by hand.

Review Automation Settings with Run Unit Tests, Run Validations, and Run AI Code Review toggles, an AI model selector, and Salesforce Apex Tests with a Dry-Run Target Org

General checks

Open Project Settings Change Reviews Automation with the "Try it in Serpent" button above to toggle:

  • Run Unit Tests - executes default unit tests (Jest/LWC) on reviewed changes.
  • Run Validations - runs metadata validation deployments.
  • Run AI Code Review - enables AI-powered review for code quality, security vulnerabilities, performance issues, and best practices, with a model picker for the AI used. See AI Code Review for what it checks.

Salesforce Apex tests

Run Apex Tests executes Apex tests for modified classes against a Dry-Run Target Org, a connected org used only to validate the change, never to deploy it.