Open
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
There was a problem hiding this comment.
🔧 Build Fix:
Vitest 4.0.3 has a race condition in worker process cleanup that causes EPIPE errors after tests complete successfully. The tests pass but the build fails due to broken pipe errors during worker pool teardown.
View Details
📝 Patch Details
diff --git a/apps/app/vitest.config.mts b/apps/app/vitest.config.mts
index 0866bcb..fabada1 100644
--- a/apps/app/vitest.config.mts
+++ b/apps/app/vitest.config.mts
@@ -6,6 +6,12 @@ export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
+ pool: "threads",
+ poolOptions: {
+ threads: {
+ singleThread: true,
+ },
+ },
},
resolve: {
alias: {
Analysis
Vitest EPIPE error during test cleanup in multi-threaded mode
What fails: Vitest 4.0.3 throws an EPIPE (broken pipe) error during worker process cleanup after tests complete successfully
How to reproduce:
cd apps/app && pnpm run testResult:
✓ __tests__/sign-in.test.tsx (1 test) 25ms
✓ __tests__/sign-up.test.tsx (1 test) 39ms
Test Files 2 passed (2)
Tests 2 passed (2)
Error: write EPIPE
at ChildProcess.target._send (node:internal/child_process:877:20)
at ForksPoolWorker.send (file:///.../vitest/dist/chunks/cli-api.D24RdiHp.js:6559:13)
errno: -32, code: 'EPIPE', syscall: 'write'b21e661 to
6603009
Compare
Bumps [ultracite](https://github.com/haydenbleasel/ultracite) from 6.0.3 to 6.1.0. - [Release notes](https://github.com/haydenbleasel/ultracite/releases) - [Commits](https://github.com/haydenbleasel/ultracite/compare/ultracite@6.0.3...ultracite@6.1.0) --- updated-dependencies: - dependency-name: ultracite dependency-version: 6.1.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
6603009 to
ecd94a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps ultracite from 6.0.3 to 6.1.0.
Release notes
Sourced from ultracite's releases.
Commits
e43ef2bVersion Packages (#347)f7ebeb8Improve test coverage for agents3fa7289Update package.jsonba72503Resolves #354b038a60fix: overrides in Astro, Svelte, Vue presets have no effect (#351)b6bdc8eadd: support Warp agentic terminal environment (#353)b7451eeFor #332cee3387Update layout.tsx098dacdFix readme symlinkf65d4e9Update package.jsonYou can trigger a rebase of this PR 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)