Skip to content

Ensure that ssh2/cpu-features doesn't get shipped#307546

Merged
roblourens merged 1 commit intomainfrom
roblou/left-earthworm
Apr 3, 2026
Merged

Ensure that ssh2/cpu-features doesn't get shipped#307546
roblourens merged 1 commit intomainfrom
roblou/left-earthworm

Conversation

@roblourens
Copy link
Copy Markdown
Member

Optional dependency that we don't want to use. This shouldn't be necessary, but if it somehow ends up getting built/installed at some point, let's strip it from the build

Co-authored-by: Copilot copilot@github.com

Optional dependency that we don't want to use. This shouldn't be necessary, but if it somehow ends up getting built/installed at some point, let's strip it from the build

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 3, 2026 01:32
@roblourens roblourens enabled auto-merge (squash) April 3, 2026 01:32
@roblourens roblourens self-assigned this Apr 3, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a defensive packaging cleanup rule to ensure the optional native dependency cpu-features (pulled in via ssh2) is not shipped in VS Code builds, even if it gets installed/built inadvertently.

Changes:

  • Exclude cpu-features/** from packaged node_modules via build/.moduleignore.

@roblourens roblourens merged commit 366aa9c into main Apr 3, 2026
23 checks passed
@roblourens roblourens deleted the roblou/left-earthworm branch April 3, 2026 01:51
@vs-code-engineering vs-code-engineering Bot added this to the 1.115.0 milestone Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants