sfpowerscripts icon indicating copy to clipboard operation
sfpowerscripts copied to clipboard

orchestrator:validate should be able to validate destructive changes

Open azlam-abdulsalam opened this issue 2 years ago • 0 comments

During the validate stage, where an existing fully prepared scratch org is used, there is no functionality to validate destructive changes. To validate destructive changes currently, one must use a scratch org from empty pool which takes a considerable amount of time.

orchestrator:validate should attempt deploying destructive changes (if any) before deploying the packages. Rather than breaking in the case of any failures, it should warn the user of inability to apply destructive changes, as it would be typically during package deployment in mixed mode (unlocked/org-dependent unlocked), as package automatically determine whether to deprecate or destruct depending on anyone consuming the said component

azlam-abdulsalam avatar Feb 25 '22 04:02 azlam-abdulsalam