Detect Target-Org Changes Before a Deploy Overwrites Them
While you compare two orgs and prepare a deployment, the target org keeps living — another admin or developer can edit the very components you're about to push. Deploy anyway and you silently overwrite their work. mtdt.io runs an opportunistic Target Org Changes probe in the background: when it positively finds that the target changed after your snapshot, it shows a warning banner on the pre-deployment checks step so an overwrite becomes a decision instead of an accident.
What you see in the product
Target Org Changes runs automatically when you open a Salesforce org-target deployment (deploy, validate, or request approval) and re-runs when your selection changes. It is not shown for repository push targets.
When the probe finds one or more positive conflicts, a warning banner appears above the checks list (Target org changed after your last refresh). The banner names up to a few conflicting items and summarizes what happened:
- Changed on target — the component was edited on the target after your snapshot.
- No longer on target — something you are about to deploy or delete was removed on the target.
- Created on target — an item you treat as new already exists on the target.
The check is informational — it never blocks the deploy. You can refresh and re-compare, deselect conflicting items, or deploy anyway.
Absence of the banner is not a guarantee. mtdt.io only surfaces what the probe successfully compared and classified as a positive conflict. If nothing appears, that means no positive conflict was detected in that run — not that the target is certainly unchanged.
What stays silent (by design)
To avoid distracting or non-actionable noise, the UI does not show a failure or “could not verify” warning when:
- The probe partially fails for some metadata types (listing or comparison errors for individual types).
- The whole check fails at the network or HTTP layer.
- Items have no snapshot baseline to compare, or Salesforce does not expose a trustworthy last-modified timestamp for a type.
Those cases are handled as best-effort gaps: the deploy flow continues without a target-conflict warning. Some metadata types are inherently hard to compare via timestamps (for example profiles, permission sets, LWC/Aura bundles, custom objects, standard fields, and folder-based types); they may be skipped or incompletely covered without any banner.
If you need certainty before overwriting target work, refresh target metadata, re-compare, and review diffs — do not rely on the banner alone.
How to resolve a positive conflict
When the banner appears, you have two clean options:
- Refresh and re-compare the target items so your snapshot reflects the current target state, then review the real diff and decide what to deploy.
- Deselect the conflicting items to keep the target's version and deploy everything else.
FAQ
How does mtdt.io know a component changed on the target org? For items it can compare, it reads the component's current last-modified timestamp from the target org's live metadata and compares it to the timestamp captured when you last retrieved or compared that item. A newer timestamp on the target means it was edited after your snapshot.
Will this block my deployment? No. Target Org Changes is informational: it flags positive findings when it has them, but you decide whether to refresh, deselect, or deploy anyway.
Why is there no banner even though I'm worried about the target? The detector is opportunistic. Silent runs can mean no positive conflict was found, that some types were not verified, or that the probe did not complete successfully for part of your selection. Treat “no banner” as “no positive finding this time,” not as proof the target is unchanged.
Related
- Pre-Deployment Checks — the full set of checks mtdt.io runs before a deploy.
- Comparing Metadata with Diffs — how the source↔target snapshot is built.
- Metadata Rollback — restore the target if a deploy still goes wrong.