Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(testing): preload vitest/node to prevent race condition on Node 24#34261

Merged
Coly010 merged 1 commit intomasterfrom
vitest/preload-node
Jan 30, 2026
Merged

fix(testing): preload vitest/node to prevent race condition on Node 24#34261
Coly010 merged 1 commit intomasterfrom
vitest/preload-node

Conversation

@Coly010
Copy link
Contributor

@Coly010 Coly010 commented Jan 30, 2026

Preload vitest/node ESM module early in buildViteTargets/buildVitestTargets
functions before parallel processing occurs. This prevents the
ERR_INTERNAL_ASSERTION error that occurs when multiple vitest.config files
are processed in parallel on Node 24+.

Fixes #34028
Fixes #33091

Preload vitest/node ESM module early in buildViteTargets/buildVitestTargets
functions before parallel processing occurs. This prevents the
ERR_INTERNAL_ASSERTION error that occurs when multiple vitest.config files
are processed in parallel on Node 24+.

Fixes #34028
@Coly010 Coly010 requested a review from a team as a code owner January 30, 2026 10:38
@Coly010 Coly010 requested a review from JamesHenry January 30, 2026 10:38
@Coly010 Coly010 self-assigned this Jan 30, 2026
@vercel
Copy link

vercel bot commented Jan 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nx-dev Ready Ready Preview Jan 30, 2026 10:46am

Request Review

@netlify
Copy link

netlify bot commented Jan 30, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 897a03a
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/697c8a0ea6e7670008a79b9b
😎 Deploy Preview https://deploy-preview-34261--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@nx-cloud
Copy link
Contributor

nx-cloud bot commented Jan 30, 2026

View your CI Pipeline Execution ↗ for commit 897a03a

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 56m View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 38s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 11s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-30 11:38:46 UTC

@Coly010 Coly010 merged commit 86de174 into master Jan 30, 2026
21 checks passed
@Coly010 Coly010 deleted the vitest/preload-node branch January 30, 2026 13:33
jaysoo pushed a commit that referenced this pull request Jan 30, 2026
#34261)

Preload vitest/node ESM module early in
buildViteTargets/buildVitestTargets
functions before parallel processing occurs. This prevents the
ERR_INTERNAL_ASSERTION error that occurs when multiple vitest.config
files
are processed in parallel on Node 24+.

Fixes #34028
Fixes #33091
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants