feat(cli): add vp toolchain command - #2111
Draft
fengmk2 wants to merge 4 commits into
Draft
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
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.54 MiB | 10.63 MiB | +96.00 KiB (+0.89%) |
vp (Linux x64) |
gzip -9 | 4.56 MiB | 4.60 MiB | +34.68 KiB (+0.74%) |
| NAPI (Linux x64) | Binary | 33.57 MiB | 33.68 MiB | +104.00 KiB (+0.30%) |
| NAPI (Linux x64) | gzip -9 | 13.03 MiB | 13.07 MiB | +44.05 KiB (+0.33%) |
vp (macOS ARM64) |
Binary | 7.89 MiB | 7.95 MiB | +64.66 KiB (+0.80%) |
vp (macOS ARM64) |
gzip -9 | 3.98 MiB | 4.01 MiB | +35.71 KiB (+0.88%) |
| NAPI (macOS ARM64) | Binary | 40.91 MiB | 40.98 MiB | +80.78 KiB (+0.19%) |
| NAPI (macOS ARM64) | gzip -9 | 17.26 MiB | 17.29 MiB | +39.32 KiB (+0.22%) |
vp (Windows x64) |
Binary | 8.43 MiB | 8.51 MiB | +83.00 KiB (+0.96%) |
vp (Windows x64) |
gzip -9 | 3.67 MiB | 3.71 MiB | +38.44 KiB (+1.02%) |
| NAPI (Windows x64) | Binary | 27.67 MiB | 27.76 MiB | +86.50 KiB (+0.31%) |
| NAPI (Windows x64) | gzip -9 | 10.84 MiB | 10.88 MiB | +38.38 KiB (+0.35%) |
| Trampoline (Windows x64) | Binary | 205.00 KiB | 205.00 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 99.00 KiB | 99.00 KiB | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.45 MiB | 4.45 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.09 MiB | 2.09 MiB | -3 B (-0.00%) |
fengmk2
force-pushed
the
rfc/toolchain-command
branch
2 times, most recently
from
August 6, 2026 07:32
11b50ab to
4a7be4b
Compare
fengmk2
force-pushed
the
rfc/toolchain-command
branch
from
August 6, 2026 07:34
4a7be4b to
f63bac6
Compare
fengmk2
force-pushed
the
rfc/toolchain-command
branch
from
August 6, 2026 07:49
f63bac6 to
59b6626
Compare
vp toolchain inspection commandvp toolchain command
fengmk2
force-pushed
the
rfc/toolchain-command
branch
from
August 6, 2026 10:11
41c9559 to
cef5191
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 toolchain. The command shows the tools, versions, and relationships in the active Vite+ release. Package managers cannot show bundled or compiled relationships such as Vite -> Rolldown -> Oxc.Vite Task no longer appears as
vite-task@0.0.0. The output shows its native build time and source revision.Output
Run
vp toolchainto show the full tree. Add tool names to select part of the tree. Use--jsonfor JSON output. Use--globalto show the global release.vp whykeeps its package-manager behavior. For readable output, it shows a hint when Vite+ also provides a queried package.An old local Vite+ release rejects the unknown command. The global CLI does not add a compatibility fallback.
The RFC remains Proposed for command and output review.