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
fix(cache): clean up stale output archives on cache update
Each cache update writes a fresh UUID-named archive into the cache
directory; the previous archive for the same key was being abandoned
on disk, causing the cache directory to grow unboundedly with each
re-execution of a cached task.
`ExecutionCache::update` now reads the prior entry and removes the
old archive file (best-effort) before upserting the new value.
Also:
- restore alphabetical ordering for `zstd` in the workspace Cargo.toml
and `uuid` in `vite_task/Cargo.toml`
- add a CHANGELOG entry for the new `output` field
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
# Changelog
2
2
3
+
-**Added**`output` field for cached tasks: archives output files after a successful run and restores them on cache hit. Defaults to automatically tracking files the task writes; accepts globs (e.g. `"dist/**"`), `{ "auto": true }`, and negative patterns (`"!dist/cache/**"`) ([#321](https://github.com/voidzero-dev/vite-task/pull/321))
3
4
-**Fixed**`vp run --cache` now supports running without a task specifier and opens the interactive task selector, matching bare `vp run` behavior ([#312](https://github.com/voidzero-dev/vite-task/pull/313))
4
5
-**Fixed** Ctrl-C now prevents future tasks from being scheduled and prevents caching of in-flight task results ([#309](https://github.com/voidzero-dev/vite-task/pull/309))
5
6
-**Added**`--concurrency-limit` flag to limit the number of tasks running at the same time (defaults to 4) ([#288](https://github.com/voidzero-dev/vite-task/pull/288), [#309](https://github.com/voidzero-dev/vite-task/pull/309))
0 commit comments