Skip to content

fix: flaky tests due to corepack concurrency on Windows#39

Merged
colinaaa merged 1 commit intomainfrom
fix-flaky-test
Mar 29, 2026
Merged

fix: flaky tests due to corepack concurrency on Windows#39
colinaaa merged 1 commit intomainfrom
fix-flaky-test

Conversation

@colinaaa
Copy link
Copy Markdown
Collaborator

Summary

  • Add throwOnError: true to x call in createTarball to surface exact errors if npm pack or pnpm pack fails.
  • Ignore fs.unlink errors during async disposal to avoid masking the original error when tests fail early.
  • Fix test/npm, test/pnpm, and test/pnpm-workspace package.json files to include identical package manager hashes as the root package.json (or valid resolved hashes) to prevent corepack from concurrently downloading versions on Windows which causes file lock hangs/timeouts.

@colinaaa colinaaa merged commit 0e8385f into main Mar 29, 2026
3 checks passed
@colinaaa colinaaa deleted the fix-flaky-test branch March 29, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant