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

Running SFDX: "Deploy Source to Org" in VS Code deploying takes too long (15-20 mins) to complete #5634

Closed
Shalini855 opened this issue Jun 10, 2024 · 5 comments

Comments

@Shalini855
Copy link

Summary

The customer is facing performance issues on their sandboxes when deploying from VS code. Even a 400 line LWC code takes 15-20 minutes for deployment. Their org(00DSu000000SvL7) instance is USA534S. They need to make multiple deployments in a single day and it takes a very long time, sometimes up to 15 minutes for every deployment. They are facing this issue only for this sandboxes.

Steps To Reproduce:

Select a LWC html and Run the "deploy source to org"

Expected result

Success message for the deployment and the list of deployed components should appear in a second or two

Actual result

Success message takes several minutes to appear. Sometimes the command in progress notificaiton keeps running

Additional information -
We have tried downgrade SFDX CLI extension in vscode to a lower recommended version: v57.10.2. But still the same issue
Tried disbling below setting as well
setup / apex settings / Perform Synchronous Compile on Deploy

Salesforce Extension Version in VS Code: 60.15.0

Salesforce CLI Version: @salesforce/cli/2.36.8 win32-x64 node-v20.11.1

OS and version:Windows Dwell Latitude

VS Code version: 1.89.1

Most recent version of the extensions where this was working:: 60.15.0

@svc-idee-bot
Copy link
Collaborator

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@daphne-sfdc
Copy link
Contributor

Hi @Shalini855, Can we get some info about your org shape? For example, number of Apex classes, number of LWC components, number of custom objects, etc. Also, what's the average size of the Apex classes and LWC components?

@Shalini855
Copy link
Author

The LWC file is taking much time and its 400 lines of code.

@daphne-sfdc
Copy link
Contributor

@Shalini855 What about the other contents of your org? How many LWC components are there? And are they all about 400 lines of code?

Copy link

This issue has not received a response in 3 days. It will auto-close in 2 days unless a response is posted.

@github-actions github-actions bot added the stale label Jun 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants