fix(release): publish Open VSX-compatible package - #30
Merged
Merged
Conversation
Open VSX rejects the release VSIX because mxschmitt.postscript is unavailable in its registry. Generate a separate manifest and package that omit only unavailable Open VSX dependencies while leaving the canonical manifest and standard VSIX unchanged for Visual Studio Marketplace dependency installation. Validate both registry artifacts in the workflow and cover the manifest transformation, source immutability, and preservation of other dependencies with Node unit tests. Verified with yarn lint, yarn npm audit --all --recursive, yarn test, and actionlint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mxschmitt.postscript, which is unavailable in that registryRoot cause
The failed release job completed its tests, packaging, artifact upload, and GitHub Release steps, then failed during Open VSX publication with
Cannot resolve dependency: mxschmitt.postscript. Open VSX resolves extension dependencies against its own registry, where that extension is not published.The
ovsx --no-dependenciesoption does not bypass extension dependency validation when publishing a prebuilt VSIX, so this PR creates a registry-specific artifact instead.Verification
yarn lintyarn npm audit --all --recursiveyarn test(2 tooling tests, 9 unit tests, and 7 VS Code integration tests)go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/release.ymlRelease behavior
The extension remains at version
0.6.1. Merging this PR triggers the release workflow again; the normal VSIX remains the GitHub Release and Visual Studio Marketplace artifact, while Open VSX receives the compatible package.