Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdapi deploy issue #1517

Closed
mundsambit007 opened this issue May 16, 2022 · 7 comments
Closed

mdapi deploy issue #1517

mundsambit007 opened this issue May 16, 2022 · 7 comments
Labels
more information required Issue requires more information or a response from the customer

Comments

@mundsambit007
Copy link

mundsambit007 commented May 16, 2022

Details

  • With the new GA on beta as I see for mdapi commands - mdapi deploy command is being skipped in the CICD pipeline - I am using GH Actions for this
  • The same works fine with source command

Usage:

sfdx force:mdapi:deploy -d mdapi-source -u QA_ORG -l RunLocalTests -w 120

Expected -

TO kick off deployment

Actual -

  • Skips the execution of this command
  • the actual deployment takes around 7 minutes :

PFB

image

@SoftCreatR
Copy link

See #1508

@mundsambit007
Copy link
Author

@SoftCreatR - Thanks ! I am following it up here and have opened an SF case as well. I had switched it to legacy. It works fine .

@iowillhoit
Copy link
Contributor

@SoftCreatR On the surface this looks unrelated to the --wait -1 issue that others are reporting. I am surprised this is acting this way. Could you please run this command with DEBUG=* and share the output? Thanks!

DEBUG=* sfdx force:mdapi:deploy -d mdapi-source -u QA_ORG -l RunLocalTests -w 120

@iowillhoit iowillhoit added the more information required Issue requires more information or a response from the customer label May 16, 2022
@shetzel
Copy link
Contributor

shetzel commented May 16, 2022

I can't reproduce this. The command as you have it should work. I was able to deploy the dreamhouse-lwc project with the exact command you're using and the latest CLI and plugins. Is it possible there's something else going on like the mdapi-source dir is empty? Can you post the output of sfdx version --verbose as well?

@AzaruddinKhan
Copy link

I am facing the same issue after the recent Summer'22 release.
The deployments just struck in the queue and never picked up for deployment. There is something went wrong after the Summer'22 I think.

There is no work around as such for this , I tried with below , still it didn't pick up the deployment.

sfdx force:source:deploy -x manifest/package.xml -u qa --testlevel NoTestRun

When I check in the morning hours there is no issue, it works fine but all of sudden the deployments get struck in queue.

@iowillhoit
Copy link
Contributor

@AzaruddinKhan what your are describing sounds like the known performance degradation being discussed in #1522. Especially since you are able to deploy just fine during "off hours"

@shetzel
Copy link
Contributor

shetzel commented Jun 28, 2022

This should be fixed in the latest CLI. Please reopen if you're on the latest and still seeing the same behavior.

@shetzel shetzel closed this as completed Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more information required Issue requires more information or a response from the customer
Projects
None yet
Development

No branches or pull requests

5 participants