feat(cli): add vp toolchain inspection command - #2111
Draft
fengmk2 wants to merge 2 commits into
Draft
Conversation
✅ Deploy Preview for viteplus-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
fengmk2
added a commit
that referenced
this pull request
Jul 10, 2026
The size gate compared the PR head against the current tip of the base branch. A branch that forked before a native-input change landed on main failed the hash comparison and got a six-platform rebuild plus a size report whose deltas came from commits already on main. #2111 hit this: an RFC-only PR received the size report for the #2104 dependency upgrade. The gate now resolves the merge base and both compares and builds against it. The build runs only when the PR itself changes a native input, and the report covers only the PR's own delta. PRs that edit this workflow file still trigger a run. The run on this PR exercised the new path end to end: base built at the merge base, head at the PR, and the size report shows 0 B raw delta on every artifact.
fengmk2
force-pushed
the
rfc/toolchain-command
branch
from
August 4, 2026 08:35
5cc88c7 to
991f8e5
Compare
vp toolchain inspection commandvp toolchain inspection command
Contributor
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
Contributor
Native binary sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
vp (Linux x64) |
Binary | 10.52 MiB | 10.61 MiB | +88.00 KiB (+0.82%) |
vp (Linux x64) |
gzip -9 | 4.55 MiB | 4.58 MiB | +34.37 KiB (+0.74%) |
| NAPI (Linux x64) | Binary | 33.66 MiB | 33.75 MiB | +92.00 KiB (+0.27%) |
| NAPI (Linux x64) | gzip -9 | 13.05 MiB | 13.08 MiB | +38.09 KiB (+0.29%) |
vp (macOS ARM64) |
Binary | 7.84 MiB | 7.91 MiB | +64.63 KiB (+0.80%) |
vp (macOS ARM64) |
gzip -9 | 3.96 MiB | 3.99 MiB | +36.54 KiB (+0.90%) |
| NAPI (macOS ARM64) | Binary | 40.95 MiB | 41.02 MiB | +64.66 KiB (+0.15%) |
| NAPI (macOS ARM64) | gzip -9 | 17.26 MiB | 17.30 MiB | +41.76 KiB (+0.24%) |
vp (Windows x64) |
Binary | 8.43 MiB | 8.51 MiB | +79.50 KiB (+0.92%) |
vp (Windows x64) |
gzip -9 | 3.67 MiB | 3.70 MiB | +35.13 KiB (+0.93%) |
| NAPI (Windows x64) | Binary | 27.81 MiB | 27.89 MiB | +83.50 KiB (+0.29%) |
| NAPI (Windows x64) | gzip -9 | 10.88 MiB | 10.92 MiB | +38.63 KiB (+0.35%) |
| Trampoline (Windows x64) | Binary | 203.00 KiB | 203.00 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 97.91 KiB | 97.91 KiB | -1 B (-0.00%) |
| Installer (Windows x64) | Binary | 4.46 MiB | 4.46 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.09 MiB | 2.09 MiB | -1 B (-0.00%) |
fengmk2
force-pushed
the
rfc/toolchain-command
branch
from
August 4, 2026 12:50
8f58e3f to
11b50ab
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
Adds
vp toolchainto show the exact packages, tools, and compiled engines used by the active Vite+ release. This covers versions that package managers cannot inspect, such as the Vite, Rolldown, and Oxc chain bundled into Vite+.Output
Run
vp toolchainfor the full tree, pass tool names to filter it, use--jsonfor structured output, or use--globalto inspect the global release.vp whykeeps its package-manager behavior and prints a hint when a queried package is also part of the Vite+ toolchain. The command uses local-first routing; an old local Vite+ version rejects the unknown command without a compatibility fallback.The RFC remains Proposed while the command and output are reviewed.