sfpowerkit
sfpowerkit copied to clipboard
Running all local tests in production
Describe the bug I have a pipeline in a different environment-branches that use the command "sfdx sfpowerkit:org:destruct -m package/destructiveChanges.xml -u $MASTER_ORG_ALIAS" to deploy Destructive Changes and the command work very well, however in PRODUCTION I've realized that when we try to delete classes, triggers, the deployment run all tests locally and this it's terrible, because another components in the Destructive Change file it's not required to run all local tests.
To Reproduce Steps to reproduce the behavior:
- sfdx sfpowerkit: "sfdx sfpowerkit:org:destruct -m package/destructiveChanges.xml -u $MASTER_ORG_ALIAS"
Expected behavior Avoid to run any test, even less all test locally.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Windows/Linux]
- Node Version
- Version of sfpowerkit[e.g 1.45.0]
- Salesforce Org Version [ In case of pre release window ]
Additional context Add any other context about the problem here.
Hi all! Good morning! Do you have any update about it, please? Is there anything I can help or provide?
Hi @erick-bs we have made the decision to deprecate the org:destruct command (issue https://github.com/dxatscale/sfpowerkit/issues/722 ) and as such will not be pushing an enhancement for this issue. Thanks for raising.