forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
488 stars 78 forks source link

Validation and progress bar #347

Closed maaaaarco closed 2 years ago

maaaaarco commented 4 years ago

Summary

When validating a package using the command force:source:deploy -c if there's already another deployment in progress this happens:

Screenshot 2020-03-19 at 13 57 30

Even the message Successfully validated the deployment is wrong, since the validation request is waiting for the other deployment to finish.

Steps To Reproduce:

  1. Start a deployment in your Sandbox
  2. While the deploy is running, start a validation request
  3. You should get the same weird behavior

Expected result

Progress bar stays idle until the other deployment finish and the message Successfully validated the deployment only appears after the validation is completed.

Actual result

Progress bar does not refresh on the same line. Message Successfully validated the deployment is displayed before the validation finishes

Additional information

SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.50.0-9030e49cbb darwin-x64 node-v10.15.3

SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core) @oclif/plugin-autocomplete 0.1.5 @oclif/plugin-commands 1.2.3 (core) @oclif/plugin-not-found 1.2.3 (core) @oclif/plugin-plugins 1.7.9 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/lwc-dev-server 1.0.10 ├─ @oclif/plugin-help 2.2.1 └─ @oclif/plugin-update 1.3.9

@salesforce/sfdx-trust 3.0.7 (core) analytics 1.7.1 (core) generator 1.1.2 (core) salesforcedx 48.5.1 (core) ├─ @salesforce/sfdx-plugin-lwc-test 0.1.5 (core) ├─ salesforcedx-templates 48.6.0 (core) └─ salesforce-alm 48.7.0 (core)

sfdx-cli 7.50.0 (core)

OS and version: MacOs Mojave

mshanemc commented 3 years ago

W-7354540

uip-robot-zz commented 3 years ago

This issue has been linked to a new work item: W-9300126