Skip to content

Slow and flaky #7278

Description

@AdamC-ST

Summary

What has happened to this plugin recently?
It has made VS Code INCREDIBLY slow (5-10 seconds to paste text!) and the Deploy Source flow has completely changed, and for the worse.

Steps To Reproduce:

  1. Open an Apex class
  2. Right-click on it and select SFDX: Deploy This Source to Org

Expected result

  1. Popup message stating code is being deployed, and remains until deployment complete
  2. In Output tab, it switches to the appropriate output (was Salesforce CLI but now seems to be Salesforce Metadata) automatically and displays: Start/end time of deployment, List of any conflicted files (which may or may not be part of the deployment), success status when complete.

Actual result

  1. Popup message takes a long time to appear (can be > 1 minute, which makes me question if I've even started a deployment), and doesn't remain visible until deployment complete
  2. Output tab doesn't switch automatically to the correct output (which now seems to be Salesforce Metadata
  3. When switched manually and presuming the deployment works, the Start/End time of deployment isn't shown, nor are the conflicted files.
  4. Today, it has gotten even worse. On deployment, the only feedback in Output is:
Conflicts: Found 1 file in conflict
Starting metadata deployment...
Cannot read properties of null (reading 'startsWith')

The only indication it has succeeded is the Cannot read properties of null (reading 'startsWith') message (which I've checked a few times with SFDX: Diff Source Against Org)

Diff is behaviour has changed too.
Now, if the local and Org code is the same, the diff isn't opened showing that. Sometimes a message flashes up to say there are no differences but it is inconsistent.

Additional information

Feel free to attach a screenshot.

Salesforce Extension Version in VS Code:
salesforce.salesforcedx-vscode: Version 66.8.0

Salesforce CLI Version:
@salesforce/cli/2.131.7 win32-x64 node-v22.20.0

OS and version:
WIndows 11 23H2 Build 22631.6199

VS Code version:
Version: 1.117.0 (user setup)
Commit: 10c8e557c8b9f9ed0a87f61f1c9a44bde731c409
Date: 2026-04-21T16:12:14-07:00
Electron: 39.8.7
ElectronBuildId: 13841579
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.22631

Most recent version of the extensions where this was working:
It's been poor for a month or so now. It improved a tiny bit last week, but now it's even worse

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions