Conversation
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
🔧 Build Fix:
Vitest 4.0.3 uses the default threads pool which causes an unhandled EPIPE error when workers try to communicate after tests complete. Adding pool: "forks" configuration switches to child_process-based workers which resolves this issue.
View Details
📝 Patch Details
diff --git a/apps/api/vitest.config.mts b/apps/api/vitest.config.mts
index 0866bcb..55f8b20 100644
--- a/apps/api/vitest.config.mts
+++ b/apps/api/vitest.config.mts
@@ -6,6 +6,7 @@ export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
+ pool: "forks",
},
resolve: {
alias: {
diff --git a/apps/app/vitest.config.mts b/apps/app/vitest.config.mts
index 0866bcb..55f8b20 100644
--- a/apps/app/vitest.config.mts
+++ b/apps/app/vitest.config.mts
@@ -6,6 +6,7 @@ export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
+ pool: "forks",
},
resolve: {
alias: {
Analysis
Vitest 4.0.3 worker pool EPIPE error
What fails: Vitest 4.0.3 crashes with an unhandled EPIPE error when using the default threads pool after tests complete, preventing the test process from exiting cleanly.
How to reproduce:
cd apps/app
NODE_ENV=test pnpm run testResult: After all tests pass successfully, vitest crashes with:
Error: write EPIPE
at ChildProcess.target._send (node:internal/child_process:877:20)
at ChildProcess.target.send (node:internal/child_process:751:19)
at ForksPoolWorker.send (file://.../vitest/dist/chunks/cli-api.D24RdiHp.js:6559:13)
...
Solution: Configure vitest to use the forks pool instead of the default threads pool. This uses child_process instead of worker_threads for test execution, which resolves the worker communication issue.
Applied to: apps/app/vitest.config.mts and apps/api/vitest.config.mts
Bumps actions/checkout from 4 to 6.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
1af3b93update readme/changelog for v6 (#2311)71cf226v6-beta (#2298)069c695Persist creds to a separate file (#2286)ff7abcdUpdate README to include Node.js 24 support details and requirements (#2248)08c6903Prepare v5.0.0 release (#2238)9f26565Update actions checkout to use node 24 (#2226)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)