Skip to content

Fix package-extension to work on Windows#22006

Open
kburtram wants to merge 1 commit into
mainfrom
dev/karlb/package_win
Open

Fix package-extension to work on Windows#22006
kburtram wants to merge 1 commit into
mainfrom
dev/karlb/package_win

Conversation

@kburtram
Copy link
Copy Markdown
Member

The shell: true option is required when launching a .cmd with Node spawn. This updates package-extension to work properly on Windows.

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

Updates the extensions/mssql packaging script so it can successfully invoke npm.cmd on Windows when running vsce package, aligning behavior with how Windows command shims need to be launched from Node.

Changes:

  • Run execFileSync with shell: true on Windows when invoking npm.cmd for extension packaging.

@github-actions
Copy link
Copy Markdown

PR Changes

Category Target Branch PR Branch Difference
vscode-mssql VSIX 78029 KB 78029 KB ⚪ 0 KB ( 0% )
sql-database-projects VSIX 6221 KB 6221 KB ⚪ 0 KB ( 0% )
data-workspace VSIX 535 KB 535 KB ⚪ 0 KB ( 0% )
keymap VSIX 7 KB 7 KB ⚪ 0 KB ( 0% )

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.88%. Comparing base (074bd5d) to head (e0f5ef4).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #22006   +/-   ##
=======================================
  Coverage   74.88%   74.88%           
=======================================
  Files         393      393           
  Lines      119260   119260           
  Branches     7083     7083           
=======================================
  Hits        89305    89305           
  Misses      29955    29955           
Flag Coverage Δ
data-workspace 77.10% <ø> (ø)
mssql 74.56% <ø> (ø)
sqlproj 77.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

6 participants