IAPL - Salesforce validate
Validate Salesforce metadata against an authenticated org without deploying it.
How it works
Open the panel (also the beaker icon on the status bar). Pick the org and one of these paths:
Delta. Load changes against a base branch. Tick or untick files, grouped by metadata type. Companion -meta.xml files are included automatically.
Manifest. Pick a package.xml from the repository.
Set the test level. RunRelevantTests (Salesforce beta, Spring '26) lets the org infer tests from dependencies. RunSpecifiedTests uses a list; Detect relevant fills it locally (test classes in the delta, name matches Foo → FooTest / Foo_Test / FooTests, and tests that reference the changed classes).
Validate runs sf project deploy validate (check only). The panel shows component and test progress. When finished: component errors, failed tests with stack traces, and per-class coverage (warning under 75%). Cancel aborts the server job when applicable.
Generate package.xml builds a manifest from the current selection.
Deletions (destructive changes)
If the delta includes deletions and you have the sfdx-git-delta plugin, the panel offers Include destructive changes (on by default). Validation uses a constructive manifest plus post-destructive changes. Deletions are all-or-nothing; they cannot be picked one by one. With the toggle off, deletions are excluded.
Requirements
Salesforce CLI (sf) on PATH and an authenticated org. The panel defaults to the org currently set as sf target-org. The delta base branch is pre-filled from iaplSfValidate.baseBranch (editable, with live git branch suggestions).
Release notes
0.7.2
- Default org is the one currently authenticated as
sf target-org. It is pre-filled immediately; the rest of the org list loads in the background. If listing fails, the preselected org stays and a warning goes to the panel log.
- Base branch is editable, with live git branch suggestions. The default/standard branch is configurable (
iaplSfValidate.baseBranch, default QA).
- Choosing a base branch loads the delta automatically.