Validation
What happens when codev validates a change — real deployments to a review environment, Apex tests and coverage, and why the result predicts the release.
Last updated
Was this helpful?
What happens when codev validates a change — real deployments to a review environment, Apex tests and coverage, and why the result predicts the release.
Validation answers one question before a change merges: will it deploy and pass its tests? codev validates by actually deploying the changed packages to a real org — a review environment — and running the Apex tests there. The review environment is either fetched from a pool or a dedicated environment set aside for review. This differs from check-only deployment: what passed validation has genuinely deployed somewhere once already.
You meet validation in three places: the checks on a pull request, the per-commit Validate action in Source Control, and the results under Change Validation and Validation Reports.
Acquires the review environment — fetched from the configured pool, or the dedicated environment chosen for the run.
Identifies the changed packages — scoped to the domain's release configuration, so only packages of that domain validate.
Deploys the changed packages to the environment, respecting dependencies.
Runs the Apex tests and checks each package's coverage (default threshold 75%).
Reports the outcome — deployment errors, test failures, coverage warnings — as the check or report you see.
Validation does not test your branch as it stands — it merges the target branch into a temporary copy first and validates the merge result, what the code will look like once the pull request merges. A merge conflict between the branches fails validation at this step: the same conflict the merge would hit, surfaced earlier.
By default, validation applies the same component checksum skip a release applies: for a changed package, only the components that differ from the previously installed version are deployed. The validation payload therefore matches the release payload.

Thorough (default)
Deploys the changed packages with their dependencies in full and runs all tests.
Individual
Identifies the changed packages and validates each individually, ignoring what is already installed in the environment.
Full detail — pool behaviour and the exact sequence of activities: Validating a change · Different types of validation.
Last updated
Was this helpful?
Was this helpful?