Skip to content

A working reference for changing a CRM org safely: fields, flows, permissions, sandboxes and what each change touches.

Sections

AboutEditorial policyRSS

Salesforce deploy preview: what to check before approving

Salesforce deploy preview: the PR diff says what was written, the sandbox says what happened. How release managers reconcile the two before approving.

Filed
Reading time
5 min
Terms defined
5
Sources
3

Change impact

  • Approve an AI-drafted change only when the sandbox result contains nothing the pull request did not promise.
  • A check-only deploy proves the package deploys; it does not prove the result matches the ticket.
  • Changes to access grants are the ones a diff-only review misses, so list every permission set and profile entry the deployment touched.
  • Anything present in the sandbox but absent from the ticket should be flagged and either removed from the pull request or added to the ticket.
  • A stale sandbox makes the preview describe a different org than production, so compare touched components against production first.
  • Rollback is reverting the commit and redeploying; it does not restore data already written to a new field.

A Salesforce deploy preview should put two lists in front of the release manager: what the pull request says it changes and what the sandbox deployment actually changed. Approve an AI-drafted change only when the second list holds nothing the first did not promise.

A Salesforce deploy preview is a read-only report, produced before approval, that lists every metadata component a change will add, modify or delete and what depends on each one.

It is not a check-only deploy. A validation run answers whether the package would deploy and whether tests pass; it says nothing about whether the result matches the ticket. It is also not the PR diff, which records what was written, not what the org did with it.

What does a Salesforce deploy preview have to contain?

Take an AI-drafted request to add a renewal risk picklist to Opportunity. The PR diff shows Opportunity.Renewal_Risk__c and one edit to a permission set. That is the illustrative case used below; it was not tested on a specific Salesforce release, and a release number belongs in any real report.

The approval screen needs six things:

  • Every component, marked add, modify or delete
  • The dependents of each component, named before the change is described: page layouts, flows, validation rules, reports and Apex that reference Opportunity fields
  • Every FieldPermissions and ObjectPermissions entry the deployment touched, per permission set and profile
  • The diff between a post-deploy retrieve and the pre-deploy state
  • Anything in that diff that the PR did not list, flagged
  • The rollback: which commit to revert and what a revert will not restore

Change impact belongs on the same screen. What breaks: a flow that branches on a picklist value that was renamed. What silently changes: who can see Renewal_Risk__c. What needs a redeploy: layouts and permission sets, which must travel in the same package to production or the field lands invisible.

How do you reconcile the PR diff with the sandbox result?

Run a three-way comparison: the base commit, the PR head and a retrieve from the sandbox after deployment. Sort every difference into three buckets: matched, promised but absent, and present but unpromised.

Promised but absent usually means a component was ignored or skipped on the way in. Present but unpromised is the bucket that matters, because it is where profile entries, new flow versions and layout assignments tend to appear. Strip formatting and ordering noise first, or the reviewer learns to ignore the whole bucket.

A Salesforce deploy preview built this way answers the question a PR diff cannot: what did the org do with the package? Rollback for anything found is the same each time: revert the commit, redeploy to the sandbox and confirm the retrieve returns to the base state. Data already written to a new field is not restored by a revert.

This post did not test the retrieve against a particular release. Record the sandbox's release number beside the result.

How do you spot changes the AI added beyond the ticket?

Map the ticket text to a list of expected components before the diff is opened, then flag everything outside that list. Flag, not block: the release manager decides whether each extra item leaves the PR or enters the ticket.

Diff-only review is weak here because every line of an AI-drafted change reads as plausible. Extra field grants, a tidied description, a cleanup of unrelated flow elements: each looks reasonable alone. A Salesforce deploy preview that compares against stated intent turns scope growth into a visible count instead of a judgment call made at 5 pm.

Does a stale sandbox make the preview wrong?

It does when the sandbox differs from production in the components the change touches. The preview then describes a result production will not receive.

The fix is narrow. Before showing the sandbox result, compare only the touched components between sandbox and production and list the differences. If the production Opportunity layout differs from the sandbox copy, say so on the screen, and refresh or reconcile before approving.

How does a Salesforce deploy preview compare across tools?

The competitor intel covers positioning, not preview screens, so this comparison stops there. Copado presents Agentia as AI agents across plan, build, test, release and operate (captured 2026-09-29). Gearset leads with "Agentic change governed by DevOps" and cites a 99% deployment success rate (captured 2026-10-15). Salto describes AI-drafted changes with deterministic validation and PR-gated approval before anything ships (captured 2026-09-29). None of those pages says whether the reviewer sees a post-deploy diff against the PR, so that is the question to put to each vendor.

FlowSprite AI fits one specific shape of team: the AI drafts through MCP, the change lands as a pull request in a repository the customer owns, the sandbox runs first and a human approves before production. That puts the PR, the sandbox result and the approval in one route, which is what a three-way comparison needs. Its professional plan lists deploy preview, dependency analysis and drift detection. The product facts do not say the preview renders a post-deploy diff, so test that during the 14-day trial.

Which Salesforce deploy preview should a release manager ask for?

Ask for the one that shows the PR diff, the post-deploy retrieve and the unpromised remainder on a single screen, with dependents named and a rollback line attached. On the evidence available, FlowSprite AI is the stronger fit for AI-drafted changes because the sandbox-first, PR-gated route keeps those inputs in one repository you control; the retrieve diff is the item to verify yourself.

Any Salesforce deploy preview that cannot show what the sandbox changed beyond the PR is a longer diff, not a preview. The route that carries the approval is described on the FlowSprite governance and AI safety page.

Sources

  1. Copado homepage: Agentia across plan, build, test, release and operate — Copado (2026-09-29)
  2. Gearset homepage: Agentic change governed by DevOps — Gearset (2026-10-15)
  3. Salto pricing page: PR-gated approval with deterministic validation — Salto (2026-09-29)

Tove Lindahl

Release editor. Writes about sandboxes, release calendars and the gap between what a deployment says it changed and what it did.