You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vp -C <dir> check and vp -C <dir> lint in cached tasks ignore their tracked environment variables #3503
In a cached task, a leading -C makes vp check and vp lint ignore the environment variables their cache config tracks. Changing a variable still replays the cache, and OXLINT_TSGOLINT_PATH never reaches the command. Without -C, both commands handle these variables correctly.
The leading -C branch in packages/cli/binding/src/cli/handler.rs returns HandledCommand::Verbatim, so the command skips its subcommand cache config:
vp check loses OXLINT_TSGOLINT_PATH and VP_SKIP_STATIC_CONFIG.
vp lint loses OXLINT_TSGOLINT_PATH.
Other subcommands lose their cache settings the same way, such as input exclusions and the disabled cache for vp dev.
Repro with run: { cache: true }:
check: after vp run quality with "quality": "vp -C . check index.js" fills the cache, VP_SKIP_STATIC_CONFIG=1 vp run quality replays it, while VP_SKIP_STATIC_CONFIG=1 vp -C . check index.js reports a lint error. Reported in perf(cli): read vp check config statically when possible #3487.
lint: after vp run lint:dir with "lint:dir": "vp -C . lint --type-aware" fills the cache, OXLINT_TSGOLINT_PATH=./invalid-path vp run lint:dir replays it. After a cache miss, the same command still passes, while vp lint fails with Failed to find tsgolint executable.
Activity
voidzero-bot commentedon Nov 20, 2026
Triage failed unexpectedly (attempt 1 of 3).
Run: https://github.com/voidzero-dev/vite-plus/actions/runs/44684256733
I can retry if a new comment provides more information or asks me to try again.
Error: