Repository navigation
Bump vitest to 5.0.3 so test runs stop leaking /tmp dirs - #1479
Merged
Merged
Conversation
vitest 5.0.2 creates /tmp/<21-char id>/ssr for each run and never removes it (the core Vitest._tmpDir; only the project dir is cleared on close). Each run left about 11 MB of transformed modules. 7,131 such dirs filled 78 GB on the shared box between 09-30 and 10-02. 5.0.3 removes the dir on close (vitest-dev/vitest#11248). Checked: tests/run/pricing.test.ts under a private TMPDIR leaves one <id> dir on 5.0.2 and none on 5.0.3. format:check, typecheck, knip, tui vitest (90 passed) pass. observer vitest fails the same 5 artifact-smoke tests on main and here, because they need a built dist/. Not checked locally: the full root suite; CI runs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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.
vitest 5.0.2 creates
/tmp/<21-char id>/ssrfor each run and never removes it. The leaked dir is the coreVitest._tmpDir; only the project dir is cleared on close. Each run leaves about 11 MB of transformed modules. On the shared box, 7,131 of these dirs held 78 GB between 09-30 and 10-02. vitest 5.0.3 removes the dir on close (vitest-dev/vitest#11248).The change bumps the catalog range in
pnpm-workspace.yamlfrom^5.0.2to^5.0.3and updates the lockfile to match. The three package.json files keepcatalog:.Checks
tests/run/pricing.test.tswith a privateTMPDIR: one<id>dir left on 5.0.2, none on 5.0.3.artifact-smoketests fail here and on main, because they need a builtdist/. CI builds first.Not verified
🤖 Generated with Claude Code