-
Notifications
You must be signed in to change notification settings - Fork 78
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
retrieve/deploy command takes too long to finish. #3171
Comments
Hello @BlueWin, this is not enough information for us to investigate.
The CLI's involvement with deploys and retrieves is pretty minimal. We prepare files and send them to the server. It is unlikely that it is actually an issue with the CLI, but I cannot tell from the lack of details. |
+1. I use retrieve ❯ sf project retrieve start --package-name 'SmartQuote' --target-org [email protected] ────────────── Retrieving Metadata ────────────── Retrieving v62.0 metadata from [email protected] using the v63.0 SOAP API ✔ Preparing retrieve request 16ms Status: Succeeded Four files, not big. |
Spring 25 is currently rolling out to customers. @ethanzhoujie, it looks like you are on Spring 25 because of the 63.0 SOAP API message. In the past we have seen some slowness in deploys/retrieves as a new major version has rolled out. There is a Known Issue that appears to be related. Unfortunately, there is nothing the CLI team can do to resolve this. |
Expected result
The following actions:
sf project retrieve/deploy start --manifest <manifest.xml> --ignore-conflicts -o <target-org-alias>
Should take at most 1 (or 2, intolerable) mins to finish.
Actual result
The following actions:
sf project retrieve/deploy start --manifest <manifest.xml> --ignore-conflicts -o <target-org-alias>
Take 5 - 10 mins to conclude.
Additional information
N/A
System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - [@salesforce/plugin-auth] CLI using stable v1 crypto
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
The text was updated successfully, but these errors were encountered: