Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"turbo": "^2.8.13",
"typedoc": "^0.28.9",
"typescript": "^5.3.0",
"vitest": "^3.2.6",
"vitest": "^4.1.11",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Vitest 4 removed support for a separate vitest.workspace.ts file (workspace projects now must be declared via test.projects in the root vitest.config.ts); this repo still defines its unit/integration/e2e projects only in vitest.workspace.ts, which vitest 4 will no longer load. After merging, pnpm test, test:unit, test:integration, and test:e2e (all used in CI) will fail to discover any projects/tests. Fix: move the workspace's project definitions into test.projects in vitest.config.ts (or otherwise migrate off vitest.workspace.ts) as part of this bump.

Extended reasoning...

vitest.config.ts (unchanged by this diff) has no test.projects field; the three test projects (unit/integration/e2e) are defined only in vitest.workspace.ts using defineWorkspace from vitest/config. Vitest 4's config loader no longer recognizes/loads vitest.workspace.ts as a projects source. CI job steps pnpm test:unit, pnpm test:integration, pnpm test:e2e (.github/workflows/ci.yml lines 29,48,162) invoke vitest run --project=unit etc., which will find no matching project and fail or run zero tests, breaking the test suite immediately after this dependency bump is installed.

Verification: normal. Regression introduced by the vitest bump. package.json:75 changes vitest from ^3.2.6 to ^4.1.11 (pnpm-lock.yaml resolves vitest@ 4.1.11 at line 3811). The repo defines its three test projects only in vitest.workspace.ts via defineWorkspace([{test:{name:"unit"...}},{name:"integration"...},{name:"e2e"...}]). vitest.config.ts (unchanged) has no projects/test.projects field — it is…

"zod": "^3.25.76"
},
"engines": {
Expand Down
Loading
Loading