fix: remove auto-install feature from local CLI for better performance#631
Merged
fix: remove auto-install feature from local CLI for better performance#631
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Member
Author
|
9161b6c to
e17de28
Compare
The `vp run` command was automatically running `pnpm install` before executing tasks, causing serious performance degradation. Remove the entire auto-install feature: - Delete `create_install_synthetic_request()` and auto-install block from `execute_vite_task_command()` in the NAPI binding - Remove `VITE_DISABLE_AUTO_INSTALL` env var from 147 snap test files - Delete `auto-install-before-task` snap test and benchmark script - Update docs and RFCs to remove auto-install references
Print a warning and skip test case directories that are missing steps.json instead of crashing with ENOENT.
e17de28 to
5490e09
Compare
Instead of warning and skipping, directories without steps.json now cause a hard error so CI won't silently drop test cases.
cpojer
approved these changes
Feb 27, 2026
Member
Author
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.

The
vp runcommand was automatically runningpnpm installbeforeexecuting tasks, causing serious performance degradation. Remove the
entire auto-install feature:
create_install_synthetic_request()and auto-install blockfrom
execute_vite_task_command()in the NAPI bindingVITE_DISABLE_AUTO_INSTALLenv var from 147 snap test filesauto-install-before-tasksnap test and benchmark script