fix: reduce VSIX size and align Node runtime support - #326
Merged
Conversation
🦋 Changeset detectedLatest commit: fe54f6e The changes in this PR will be included in the next version bump. This PR includes changesets to release 14 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # packages/core/src/cli/doctor/command.ts # pnpm-lock.yaml # scripts/smoke-installed-vsix.mjs
joesobo
force-pushed
the
codex/reduce-vsix-size
branch
from
July 30, 2026 01:26
a9b5eaf to
54e5c23
Compare
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
tree-sitter@0.25.1>=22.14.0consistently across Core, plugins, apps, examples, and fixtures, with no maximum version1.101.0, whose extension host uses Node 22mainand preserve its Parcel watcher and VS Code test-host updatesUser impact
VS Code extension users
1.101.0or newer before installing this extension release.CLI, plugin, interface, and library users
22.14.0or newer before updating CodeGraphy packages.The changesets mark the Node minimum as a breaking change for Core, the plugin APIs, and affected CLI/plugin packages. The VS Code extension and non-API runtime packages receive minor releases.
Size
The fresh darwin-arm64 VSIX is 20,419,209 bytes compressed, contains 105,915,940 unpacked bytes, and has 1,394 files. It contains no
.d.tsor.mapfiles.The packaged README links its images and documentation to GitHub, so excluding the redundant
docs/copy does not remove Marketplace content.Runtime contract
Tree-sitter 0.25.1 publishes a Node-API 10 prebuild. Node 22.14.0 is the first Node 22 release that supports Node-API 10, so
>=22.14.0is the clean minimum for the upstream dependency. Node 20 cannot load that prebuild without a custom rebuild, patch, or fallback.All 20 first-party package manifests declare the same open-ended Node range. CI and release workflows use
lts/*, so future active LTS releases are tested without repository pin-file updates.Capability evidence
Verification
pnpm install --frozen-lockfilepnpm lintpnpm typecheckpnpm run test:release: 42 passedpnpm exec changeset statusgit diff --checkNo new package-content regression suite was added. Functional staging tests, target-native validation, exact-head CI, and the real installed-extension smoke test provide the capability checks.
Trello: Reduce VSIX installed size without capability loss
Trello: Remove temporary Tree-sitter Node 23 build patch