Skip to content

Fix vitest startup: align vite 8.1.2 + rolldown 1.1.3#21

Merged
swantron merged 3 commits into
mainfrom
fix-vite-rolldown
Jul 1, 2026
Merged

Fix vitest startup: align vite 8.1.2 + rolldown 1.1.3#21
swantron merged 3 commits into
mainfrom
fix-vite-rolldown

Conversation

@swantron

Copy link
Copy Markdown
Owner

tronswan's vitest was failing at startup with SyntaxError: The requested module 'rolldown/experimental' does not provide an export named 'viteWasmFallbackPlugin' — the locked rolldown 1.1.2 lacked that export. Bumps vite to 8.1.2 and pins rolldown 1.1.3. All 514 tests pass locally.

swantron added 2 commits June 30, 2026 17:35
The locked rolldown 1.1.2 did not export viteWasmFallbackPlugin, which
vite 8.1.x imports from rolldown/experimental — breaking vitest at startup
("does not provide an export named 'viteWasmFallbackPlugin'"). Bumping vite
to 8.1.2 and pinning rolldown to 1.1.3 (which adds the export) restores it.
All 514 tests pass locally.
yarn install --frozen-lockfile rejected Node 20 against the package's
"engines": { "node": ">=24.0.0" }, failing the gate before tests ran.
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Difftron — delta coverage

Coverage Analysis Report

Summary

  • Overall Coverage: 0.0%
  • Changed Lines: 12
  • Covered Lines: 0
  • Uncovered Lines: 12
  • Threshold: 80.0%
  • Status: ❌ FAIL

Modified Files

  • Files: 2
  • Coverage: 0.0%
  • Changed Lines: 12
  • Covered: 0 | Uncovered: 12

File Details

File Status Coverage Changed Covered Uncovered
src/components/ui/Projects.tsx 0.0% 3 0 3
  • Uncovered lines: [33 34 37]
    | src/components/status/HealthPage.tsx | ❌ | 0.0% | 9 | 0 | 9 |
  • Uncovered lines: [214 215 225 226 235 390 391 213 236]

ℹ️ 5 changed file(s) had no coverage data and were not scored: yarn.lock, .github/workflows/quality-gate.yml, eslint.config.js, package.json, src/components/status/ServiceHealth.test.tsx

eslint-plugin-import@2.x crashes on ESLint 10 (import/order calls the removed
sourceCode.getTokenOrCommentAfter), which failed the Buildkite lint step. The
maintained fork eslint-plugin-import-x@4 supports ESLint 10; registered under the
same `import` plugin key so all import/* rule names are unchanged. Also adds the
URL global and applies the formatting/import-order fixes the crash had masked.
Lint clean, all 514 tests pass.
@swantron swantron force-pushed the fix-vite-rolldown branch from 800ab48 to 123a432 Compare July 1, 2026 03:35
@swantron swantron merged commit 0887b4d into main Jul 1, 2026
5 checks passed
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