sfpowerkit icon indicating copy to clipboard operation
sfpowerkit copied to clipboard

Running all local tests in production

Open erick-bs opened this issue 2 years ago • 1 comments

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:

  1. 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.

erick-bs avatar Jan 25 '22 14:01 erick-bs

Hi all! Good morning! Do you have any update about it, please? Is there anything I can help or provide?

erick-bs avatar Jun 14 '22 08:06 erick-bs

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.

Caitlyn-Mills avatar Aug 31 '22 03:08 Caitlyn-Mills