Skip to content

@cloudflare/vitest-pool-workers broken in macOS after upgrade #12685

@elct9620

Description

@elct9620

What versions & operating system are you using?

Please provide a link to a minimal reproduction

https://github.com/elct9620/gna

Describe the Bug

When running pnpm test or pnpm test:coverage, the tests failed by workerd error. I have 2 projects has different errors.

  • Both work correctly before the Wrangler upgrade
  • Unable to rollback (one project update, then all project fails)

Please provide any relevant error logs

Project 1 (Gna, Public):

  • GitHub Action works correctly
  • Need to use pkill to clean up workerd
  • Run single test can pass

project1.txt

Note

Enable singleWorker fix this issue. The issue may related to too many tests.


Project 2 (Private, no CI because GitLab Self-Hosted Runner in Container does not work)

  • Test case contains CJK

project2.txt

Metadata

Metadata

Labels

vitestRelating to the Workers Vitest integration

Type

No fields configured for Bug.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions