Skip to content

docs(rfc): propose vp toolchain inspection command#2111

Draft
fengmk2 wants to merge 1 commit into
mainfrom
rfc/toolchain-command
Draft

docs(rfc): propose vp toolchain inspection command#2111
fengmk2 wants to merge 1 commit into
mainfrom
rfc/toolchain-command

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

Proposes a new vp toolchain command for inspecting versions and relationships that package managers cannot see, including bundled and compiled components.

This PR contains the RFC only. It does not implement the command.

Review focus

  • Command name, filters, tree output, and JSON schema
  • Manifest scope, including Oxc, Oxc Resolver, and Vite Task
  • Human-only vp why discovery hint
  • Local-first routing: old local Vite+ versions reject the unknown command; no compatibility fallback

Validation

  • Formatted the RFC with Oxfmt
  • Validated Markdown whitespace and references
  • Parsed the JSON example with jq

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 5cc88c7
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a4f8ab45774b60008029a9d
😎 Deploy Preview https://deploy-preview-2111--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (5cc88c7)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.28 MiB 10.27 MiB -8.00 KiB (-0.08%)
vp (Linux x64) gzip -9 4.41 MiB 4.41 MiB -2.17 KiB (-0.05%)
NAPI (Linux x64) Binary 33.41 MiB 33.42 MiB +3.94 KiB (+0.01%)
NAPI (Linux x64) gzip -9 12.78 MiB 12.77 MiB -9.44 KiB (-0.07%)
vp (macOS ARM64) Binary 7.61 MiB 7.61 MiB -32 B (-0.00%)
vp (macOS ARM64) gzip -9 3.83 MiB 3.82 MiB -9.83 KiB (-0.25%)
NAPI (macOS ARM64) Binary 40.77 MiB 40.78 MiB +16.39 KiB (+0.04%)
NAPI (macOS ARM64) gzip -9 17.04 MiB 17.02 MiB -27.23 KiB (-0.16%)
vp (Windows x64) Binary 8.33 MiB 8.32 MiB -9.00 KiB (-0.11%)
vp (Windows x64) gzip -9 3.63 MiB 3.63 MiB -1,020 B (-0.03%)
NAPI (Windows x64) Binary 27.86 MiB 27.85 MiB -8.00 KiB (-0.03%)
NAPI (Windows x64) gzip -9 10.78 MiB 10.76 MiB -21.01 KiB (-0.19%)
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.45 MiB -5.00 KiB (-0.11%)
Installer (Windows x64) gzip -9 2.08 MiB 2.08 MiB -1.35 KiB (-0.06%)

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.
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