Menu

Validate now, deploy later: how Salesforce quick deploy works
📰

Validate now, deploy later: how Salesforce quick deploy works

DEV Community: cicd·Diffbridge·7 days ago
#KDpTzEIR
#devtocicd#devto#dev#deploy#tests
Long article (663 words) — no AI summary yet.
Reading 0:00
15s threshold

Production deployments with Apex tests are slow, and the release window is short. Salesforce has a way to move the slow part out of the window: validate first, then quick deploy. This post explains what quick deploy is, the conditions Salesforce sets for it, and a workflow that uses it.

What a quick deploy is

A deployment can be run as a validation (also called a check-only deployment). Salesforce runs everything a real deployment would run, tests included, but saves nothing in the org. If the validation passes, you can later promote it with a quick deploy , which deploys the validated components without running the Apex tests again .

In the Metadata API this is deployRecentValidation() . In the Salesforce UI it is the quick deploy option on the Deployment Status page.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.