Skip to content

feat(cache): add fs module cache env variables - #11859

Merged
sheremet-va merged 1 commit into
mainfrom
feat/fs-cache-env
Nov 6, 2026
Merged

sheremet-va merged 1 commit into
mainfrom
feat/fs-cache-env

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

Adds VITEST_FS_MODULE_CACHE and VITEST_FS_MODULE_CACHE_PATH. The config and the CLI take priority over them.

Fixes #11847

@netlify

netlify Bot commented Nov 3, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit e82f3d9
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6aea238ebeac4eb62d46d506
😎 Deploy Preview https://deploy-preview-11859--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@flakiness-io

flakiness-io Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Test Results Summary

This comment shows the latest test results for this pull request.

Commit Status Test Results CI Runs
e82f3d9 ❌ Failed 1 regressed · 31397 passed · 234 flaky · 1185 skipped 27 runs

1 regressed

🔥 win 10.0.26100 · vitest test/browser/specs/to-match-screenshot.test.ts:268 › --watch › screenshots match across non-UI and UI mode

⚠️ 234 flaky

⚠️ win 10.0.26100 · threads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · vmThreads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · threads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · threads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · vmThreads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · forks test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ Ubuntu 24.04 · forks test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ win 10.0.26100 · vmThreads test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ win 10.0.26100 · forks test/unit/test/retry.test.ts:55 › describe object add(1, 1) › returned value not be greater than 2
⚠️ win 10.0.26100 · threads test/unit/test/retry.test.ts:61 › describe object add(1, 1) › returned value not be less than 2
…and 224 more

View full report

ℹ️ About Flakiness.io in GitHub

Your team has set up Flakiness.io pull request comments. This comment is updated when

  • The first test results arrive for this pull request
  • A later run reports more results for the same commit
  • A new commit is pushed and tested

Flakiness.io rewrites the comment in place, so it always reflects the most recently tested commit.

@sheremet-va
sheremet-va marked this pull request as ready for review November 6, 2026 16:08
@sheremet-va
sheremet-va merged commit 708c05d into main Nov 6, 2026
30 of 32 checks passed
@sheremet-va
sheremet-va deleted the feat/fs-cache-env branch November 6, 2026 16:09
jaymalve added a commit to jaymalve/vitest that referenced this pull request Nov 8, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuring fsModuleCache from an environment variable

1 participant