Repository navigation
build: allow opting out of Vite Task caching via MERIT_TASK_CACHE - #104
Merged
Merged
Conversation
[Medium impact] The PR appears safe to merge; no actionable defects were established.
|
Cloud sandboxes and WSL2 inherit a seccomp user-notify listener, which causes Vite Task's automatic file-tracking listener to fail with EBUSY when spawning workspace binaries such as tsc (voidzero-dev/vite-plus#1643). Set run.cache to false in vite.config.ts when MERIT_TASK_CACHE=off, export it in the cloud agent setup script, and document it in the verification guide.
dmprav
force-pushed
the
build/task-cache-opt-out
branch
from
November 14, 2026 13:50
d143cba to
beb1cb6
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.
Why
In environments that already run under a seccomp user-notify listener (cloud
agent sandboxes and WSL2), Vite Task's automatic file-tracking listener fails
with
EBUSYwhen spawning workspace binaries such astsc(voidzero-dev/vite-plus#1643).
That breaks
vp runtasks and pre-commit hooks unless--no-cacheis passedto every invocation.
What changed
vite.config.tssetsrun.cachetofalsewhenMERIT_TASK_CACHE=off,leaving task caching unchanged everywhere else.
.agents/install-environment.shexportsMERIT_TASK_CACHE=offin~/.bashrcfor cloud agent shells.
docs/guides/verification.mddocumentsMERIT_TASK_CACHE=offfor WSL2 andsandboxed runners.
Follow-ups
voidzero-dev/vite-plus#1643is fixed upstream.