fix: resolving dep optimizer issues with workspace#4036
Merged
sheremet-va merged 1 commit intovitest-dev:mainfrom Aug 31, 2023
Merged
fix: resolving dep optimizer issues with workspace#4036sheremet-va merged 1 commit intovitest-dev:mainfrom
sheremet-va merged 1 commit intovitest-dev:mainfrom
Conversation
|
|
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
sheremet-va
requested changes
Aug 29, 2023
| import { findUp } from 'find-up' | ||
| import { resolve } from 'pathe' | ||
| import { loadConfigFromFile } from 'vite' | ||
| import { generateHash } from '@vitest/runner/utils' |
Member
There was a problem hiding this comment.
Runner package should not be used in node
Contributor
Author
There was a problem hiding this comment.
Ok, providing you are still ok with hashing the project name as a solution, I have switched this to use node:crypto to generate an md5 hash
35f32b4 to
fe30982
Compare
We now use a different cache directory per project in the workspace this way we don't wind up accidentally deleting the cache directory from one project as the next one starts running.
71ae736 to
1d2221c
Compare
sheremet-va
approved these changes
Aug 31, 2023
andipaetzold
referenced
this pull request
in andipaetzold/react-firehooks
Sep 8, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.34.3` -> `0.34.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.34.3/0.34.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.3` -> `0.34.4`](https://renovatebot.com/diffs/npm/vitest/0.34.3/0.34.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in fwouts/previewjs
Sep 8, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.34.3` -> `^0.34.4`](https://renovatebot.com/diffs/npm/vitest/0.34.3/0.34.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
bodinsamuel
referenced
this pull request
in specfy/stack-analyser
Sep 10, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.33.0` -> `0.34.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.4`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [
Description
We now use a different cache directory per project in the workspace this way we don't wind up accidentally deleting the cache directory from one project as the next one starts running.
I'm using a hash of the project name as the basis for constructing the cache sub-directory. Using a hash here is primarily done as a way to avoid sanitizing the project name to remove characters that aren't valid directory names and dealing with collisions for similarly named projects that contain invalid characters ("Foo<" and "Foo>" might both sanitize to "Foo_") for example.
A potential downside to using project name (hashed or not) is that workspaces which don't define project names for their projects will fall back to using an index as the project name. As a result, changing the order of the projects in a workspace, can result in the wrong cache directory being used.
In some ways, it might be better to do something like hash the resolved config that way order wouldn't matter, and changing the config would result in a different hash, but I don't necessarily love that approach either since it would result in more directories being created and we don't currently ever clean-up the
node_modules/.vitestdirectory to remove stale project dirs.@sheremet-va please let me know if you have a preference for the above
Fixes #4020
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.