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
A Void build misses the vp run cache on a fresh checkout unless its inputs are listed #636
Filed by Claude Opus 5.5 on behalf of @anaclumos under explicit approval
Seen with Void 1.3.0 under vp run from Vite+ 1.4.0, with automatic input tracking.
On a fresh checkout, a void build task run through vp run misses the cache unless the task lists its cache.input explicitly.
The cause:
The build creates .void/, .wrangler/, and .void-wrangler.jsonc in the project directory.
The tracker records the project directory's listing as an input.
A cached build's recorded listing therefore never matches a fresh checkout's listing.
Expected: Void's generated files stay out of the tracked inputs, for example under an output directory or declared as task outputs, so a fresh checkout can replay a cached build.
Workaround: list the build's cache.input explicitly.
Related: #492, whose automatic tracking of Void builds depends on the unreleased rebuildable cache rules in voidzero-dev/vite-plus#3113.
On Void 1.12.0 and Vite+ 1.8.0, a fresh checkout hits only when the cache entry was also recorded on a fresh checkout.
An entry recorded in a workspace that already has Void's generated files misses on a fresh checkout:
Cache miss: '.void-wrangler.jsonc' removed from workspace root
'entry.ts' removed from '.void'
'queues.d.ts' removed from '.void'
The build reads these files to compare them, and doesn't rewrite them when nothing changed, so Vite+ records them as inputs.
With Void calling ignoreInput on them, the fresh checkout hits.
Deleting void.lock.json after a build that rewrote it already hits today, and brings back its Cloudflare bindings. Ignoring .void-wrangler.jsonc would make a fresh checkout without the lock do the same.
Void can't prevent that yet: Vite+ lets a later run go without a file the build wrote, and disableCache() does nothing in 1.8.0.
Activity
hyfdev commentedon Nov 26, 2026
On Void 1.12.0 and Vite+ 1.8.0, a fresh checkout hits only when the cache entry was also recorded on a fresh checkout.
An entry recorded in a workspace that already has Void's generated files misses on a fresh checkout:
ignoreInputon them, the fresh checkout hits.void.lock.jsonafter a build that rewrote it already hits today, and brings back its Cloudflare bindings. Ignoring.void-wrangler.jsoncwould make a fresh checkout without the lock do the same.disableCache()does nothing in 1.8.0.I opened voidzero-dev/vite-task#1023 for that, and I'll send the Void fix once it lands.
I assigned the issue to myself since I've started investigating it.