Skip to content

fix: restrict VSIX distribution to web - W-23770522 - #8

Merged
peternhale merged 1 commit into
mainfrom
ph/W-23770522-restrict-web-distribution
Aug 12, 2026
Merged

fix: restrict VSIX distribution to web - W-23770522#8
peternhale merged 1 commit into
mainfrom
ph/W-23770522-restrict-web-distribution

Conversation

@peternhale

Copy link
Copy Markdown
Collaborator

What does this PR do?

Restricts published VSIX artifacts and CI package validation to the VS Code web target. Adds a distribution-policy check that also preserves both local extension entry points and the macOS/Windows desktop E2E job.

What issues does this PR fix or reference?

@W-23770522@

Functionality Before

The primary CI and release package commands created universal VSIX artifacts. Desktop source builds and desktop E2E were present but had no explicit distribution-policy guard.

Functionality After

Primary stable and prerelease VSIX commands use vsce package --target web. CI validates the same target. Desktop main output, browser output, and desktop Electron E2E remain required by the policy check.

Validation:

  • pnpm run test:distribution-policy
  • pnpm dlx @vscode/vsce package --target web --no-dependencies
  • pnpm run test:e2e:web
  • pnpm run test:e2e:desktop
  • pnpm test
  • pnpm lint (0 errors; 9 pre-existing no-console warnings)

@peternhale
peternhale requested a review from mshanemc August 12, 2026 15:05
@peternhale
peternhale merged commit 24f9e4d into main Aug 12, 2026
19 checks passed
@peternhale
peternhale deleted the ph/W-23770522-restrict-web-distribution branch August 12, 2026 15:13
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.

2 participants