Visitar URL original
fix(coverage): v8 `autoAttachSubprocess` to use `.tmp` directory by AriPerkkio · Pull Request #11632 · vitest-dev/vitest · GitHub
Skip to content

fix(coverage): v8 autoAttachSubprocess to use .tmp directory - #11632

Merged
sheremet-va merged 1 commit into
vitest-dev:mainfrom
AriPerkkio:fix/coverage-v8-tmp-dir
Oct 18, 2026
Merged

sheremet-va merged 1 commit into
vitest-dev:mainfrom
AriPerkkio:fix/coverage-v8-tmp-dir

Conversation

@AriPerkkio

Copy link
Copy Markdown
Member

Fixes #11626.

Comment on lines +36 to +39
expect.soft(files).not.toContain('.tmp')
expect.soft(files).not.toContain('tmp')

expect.soft(files).toMatchInlineSnapshot(`

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test failure before the fix

Image

@netlify

netlify Bot commented Oct 18, 2026

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b4c2bdb
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6ad45ed286c7e42f70b9c492
😎 Deploy Preview https://deploy-preview-11632--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.

@sheremet-va
sheremet-va merged commit de5af29 into vitest-dev:main Oct 18, 2026
49 of 53 checks passed
@AriPerkkio
AriPerkkio deleted the fix/coverage-v8-tmp-dir branch October 18, 2026 14:51
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 2, 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.

coverage-v8: autoAttachSubprocess leaves <reportsDirectory>/tmp/<uuid> behind, so reportsDirectory is never removed

2 participants