Skip to content

fix(ci): bump vsce to 4.1.1 so OIDC publishing reaches the Marketplace - #503

Merged
mtskf merged 1 commit into
mainfrom
chore/bump-vsce-oidc-exchange
Nov 20, 2026
Merged

mtskf merged 1 commit into
mainfrom
chore/bump-vsce-oidc-exchange

Conversation

@mtskf

@mtskf mtskf commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Summary

The v0.1.87 publish run (44674590472) failed at vsce publish --oidc:

Marketplace OIDC token exchange failed with 400 Bad Request: No api-version was supplied for the "POST" request.

vsce 4.0.0 calls /_apis/gallery/token with no api-version and a Bearer scheme. vsce 4.1.0 ("Update OIDC exchange to the final Marketplace contract", microsoft/vscode-vsce#1337) adds ?api-version=7.2-preview.1 and uses FederatedToken. Nothing was published: the Open VSX step was skipped.

Changes

  • @vscode/vsce ^4.0.0 → ^4.1.1 (devDependency). 4.1.1 was published on 2026-11-12, so it clears the 7-day minimumReleaseAge.
  • The lockfile adds @vscode/vsce-sign@2.1.1 and its platform binaries, which are new direct dependencies of vsce 4.1.x. Their install script stays denied by allowBuilds.

Dependency justification

  • This is a version bump of an existing tool, not a new dependency.
  • The bump is required: the pinned version cannot publish through Trusted Publishing.

Test plan

  • pnpm install --frozen-lockfile passes, which includes the release-age cooldown.
  • The installed out/oidc.js sends api-version=7.2-preview.1 and FederatedToken.
  • pnpm package builds the package and audit-vsix reports no violations.
  • The re-run of the v0.1.87 publish succeeds after merge.

The v0.1.87 publish failed at the token exchange: vsce 4.0.0 posts to
/_apis/gallery/token without an api-version and with a Bearer scheme, and
the Marketplace answers 400. vsce 4.1.0 moved to the final contract
(api-version=7.2-preview.1, FederatedToken). 4.1.1 is past the 7-day
release-age cooldown.
@mtskf
mtskf merged commit 338c17c into main Nov 20, 2026
2 checks passed
@mtskf
mtskf deleted the chore/bump-vsce-oidc-exchange branch November 20, 2026 04:49
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.

1 participant