From 59508a03f7c6b4b8b64ae8fead769870109c7056 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Fri, 1 Mar 2024 14:51:13 -0600 Subject: [PATCH 1/3] fix: sandbox note on validate and quick --- messages/deploy.metadata.quick.md | 2 ++ messages/deploy.metadata.validate.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/messages/deploy.metadata.quick.md b/messages/deploy.metadata.quick.md index c818c3ea..2cf2c6b1 100644 --- a/messages/deploy.metadata.quick.md +++ b/messages/deploy.metadata.quick.md @@ -10,6 +10,8 @@ Executing this quick deploy command takes less time than a standard deploy becau This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org. +Note: This command is not intended to be used on Sandboxes. By default, Sandboxes do not run tests during a deploy. Use `sf project deploy start` instead. + # examples - Run a quick deploy to your default org using a job ID: diff --git a/messages/deploy.metadata.validate.md b/messages/deploy.metadata.validate.md index 43f27d3e..6bd3d88b 100644 --- a/messages/deploy.metadata.validate.md +++ b/messages/deploy.metadata.validate.md @@ -12,6 +12,8 @@ This command doesn't support source-tracking. When you quick deploy with the res To validate the deployment of multiple metadata components, either set multiple --metadata flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir. +Note: This command is not intended to be used on Sandboxes. By default, Sandboxes do not run tests during a deploy. To verify a deploy with tests on a Sandbox, use `sf project deploy start --dry-run --test-level RunLocalTests`. + # examples - NOTE: These examples focus on validating large deployments. See the help for "<%= config.bin %> project deploy start" for examples of deploying smaller sets of metadata which you can also use to validate. From 7106c153abb5b8adc647f3f6e7b20ce9be3373c1 Mon Sep 17 00:00:00 2001 From: Willhoit Date: Mon, 4 Mar 2024 16:44:03 -0600 Subject: [PATCH 2/3] Update messages/deploy.metadata.quick.md Co-authored-by: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> --- messages/deploy.metadata.quick.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/deploy.metadata.quick.md b/messages/deploy.metadata.quick.md index 2cf2c6b1..c490e789 100644 --- a/messages/deploy.metadata.quick.md +++ b/messages/deploy.metadata.quick.md @@ -10,7 +10,7 @@ Executing this quick deploy command takes less time than a standard deploy becau This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org. -Note: This command is not intended to be used on Sandboxes. By default, Sandboxes do not run tests during a deploy. Use `sf project deploy start` instead. +Note: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. Use `sf project deploy start` instead. # examples From 8608eea44a96b30b92b0117d66ec62e8f9f78c1e Mon Sep 17 00:00:00 2001 From: Willhoit Date: Mon, 4 Mar 2024 16:45:13 -0600 Subject: [PATCH 3/3] chore: sandbox quick command suggestion Co-authored-by: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> --- messages/deploy.metadata.validate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/deploy.metadata.validate.md b/messages/deploy.metadata.validate.md index 6bd3d88b..7b8e7b8d 100644 --- a/messages/deploy.metadata.validate.md +++ b/messages/deploy.metadata.validate.md @@ -12,7 +12,7 @@ This command doesn't support source-tracking. When you quick deploy with the res To validate the deployment of multiple metadata components, either set multiple --metadata flags or a single --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax applies to --manifest and --source-dir. -Note: This command is not intended to be used on Sandboxes. By default, Sandboxes do not run tests during a deploy. To verify a deploy with tests on a Sandbox, use `sf project deploy start --dry-run --test-level RunLocalTests`. +Note: Don't use this command on sandboxes; the command is intended to be used on production orgs. By default, sandboxes don't run tests during a deploy. If you want to validate a deployment with tests on a sandbox, use "sf project deploy start --dry-run --test-level RunLocalTests" instead. # examples