You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vitest 3.x peer-caps at Vite 6; unit tests don't exercise Rolldown after Vite 8 bump #114
area/frontendTouches apps/desktop frontend (React/Vite/Tailwind/ESLint)status/needs-researchDeep multi-source research required before committing to an approach
apps/desktop/ was bumped to [email protected] + @vitejs/plugin-react@6 in a recent commit (frontend modernization bundle, lib-audit L2 PR-2). Production builds now run under Rolldown (Vite 8's default bundler).
However, apps/desktop/bun.lock after the bump shows:
Vitest 3.x peer-caps at Vite 6 — see vitest-dev/vitest#4142 and vitest-dev/vitest discussion #7520. So production runs Vite 8 / Rolldown / Oxc, but the unit-test pipeline (`bun test`) still executes the frontend under Vite 6 + esbuild/Rollup.
Impact
Green `bun test` after the Vite 8 bump does not prove Rolldown compatibility. Any Vite-8/Rolldown-specific regression slips the test suite and surfaces only at `bun run build` or in production.
Desired outcome
Upgrade to Vitest 4 once it's GA. Vitest 4 is expected to align its peer range to Vite 8 and remove the split. Until then, the test suite runs under the older pipeline.
Current state (apps/desktop)
`vite`: `^8` (resolved 8.0.9)
`@vitejs/plugin-react`: `^6` (resolved 6.0.1)
`vitest`: `^3.2` (resolved 3.2.4)
`bun run build` under Vite 8: green.
`bun run test` under transitive Vite 6: green.
`bun run lint`: green.
Priority
Medium. The Vite 8 bump has landed and is validated manually against the production build path; the test-pipeline drift is a known risk, not an active failure.
area/frontendTouches apps/desktop frontend (React/Vite/Tailwind/ESLint)status/needs-researchDeep multi-source research required before committing to an approach
Activity