Summary
After upgrading VS Code from 1.128.x to 1.129.0, the VS Code Extension Host repeatedly terminates unexpectedly when the Salesforce Extension Pack is enabled.
The issue does not occur when Salesforce extensions are disabled, and it is resolved by downgrading VS Code back to 1.128.1.
Environment
-
OS: Pop!_OS 24.04 (Linux x64)
-
Kernel: 7.0.11-76070011-generic
-
VS Code:
- Failing: 1.129.0
- Working: 1.128.1
-
Salesforce Extension Pack: 67.5.0
Relevant Salesforce extension versions:
salesforce.salesforcedx-vscode@67.5.0
salesforce.salesforcedx-vscode-core@67.5.0
salesforce.salesforcedx-vscode-services@67.5.0
salesforce.salesforcedx-vscode-apex@67.5.0
salesforce.salesforcedx-vscode-lightning@67.5.0
salesforce.salesforcedx-vscode-lwc@67.5.0
salesforce.salesforcedx-vscode-metadata@67.5.0
Steps to reproduce
- Upgrade VS Code from 1.128.x to 1.129.0.
- Open a Salesforce DX project.
- Allow Salesforce extensions to activate.
- The Extension Host terminates unexpectedly:
Extension host terminated unexpectedly 3 times within the last 5 minutes.
Relevant error from Extension Host log
PendingMigrationError: navigator is now a global in nodejs,
please see https://aka.ms/vscode-extensions/navigator
Stack trace points into:
salesforce.salesforcedx-vscode-core-67.5.0/dist/src/index.js
Utility.getConnectionType()
Omt.sendTelemetryEvent()
Troubleshooting performed
The following tests were performed:
-
Confirmed issue occurs with Salesforce extensions enabled.
-
Disabled Salesforce Extension Pack:
- Result: Extension Host remains stable.
-
Cleared Salesforce/VS Code workspace state:
-
Started VS Code with code --log trace:
- Issue was not reproduced in that session, but normal startup continued to fail.
-
Tried VS Code setting:
"extensions.supportNodeGlobalNavigator": false
Expected behavior
Salesforce extensions should activate normally under VS Code 1.129.0 without terminating the Extension Host.
Actual behavior
The Extension Host crashes repeatedly after Salesforce extensions activate.
Additional notes
This appears to be a compatibility issue between VS Code 1.129.0's extension host runtime changes and Salesforce Extension Pack 67.5.0, possibly related to the Node.js navigator global migration.
A minimal workaround is to remain on VS Code 1.128.1 until compatibility is restored.
Summary
After upgrading VS Code from 1.128.x to 1.129.0, the VS Code Extension Host repeatedly terminates unexpectedly when the Salesforce Extension Pack is enabled.
The issue does not occur when Salesforce extensions are disabled, and it is resolved by downgrading VS Code back to 1.128.1.
Environment
OS: Pop!_OS 24.04 (Linux x64)
Kernel: 7.0.11-76070011-generic
VS Code:
Salesforce Extension Pack: 67.5.0
Relevant Salesforce extension versions:
Steps to reproduce
Relevant error from Extension Host log
Stack trace points into:
Troubleshooting performed
The following tests were performed:
Confirmed issue occurs with Salesforce extensions enabled.
Disabled Salesforce Extension Pack:
Cleared Salesforce/VS Code workspace state:
Started VS Code with
code --log trace:Tried VS Code setting:
Result: No change.
Downgraded VS Code to 1.128.1:
Expected behavior
Salesforce extensions should activate normally under VS Code 1.129.0 without terminating the Extension Host.
Actual behavior
The Extension Host crashes repeatedly after Salesforce extensions activate.
Additional notes
This appears to be a compatibility issue between VS Code 1.129.0's extension host runtime changes and Salesforce Extension Pack 67.5.0, possibly related to the Node.js
navigatorglobal migration.A minimal workaround is to remain on VS Code 1.128.1 until compatibility is restored.