Skip to content

fix(vite): refactor module runner to module graph #197

fix(vite): refactor module runner to module graph

fix(vite): refactor module runner to module graph #197

Triggered via push September 12, 2024 13:20
Status Failure
Total duration 2m 28s
Artifacts

ci.yml

on: push
Get changed files
5s
Get changed files
Lint: node-20, ubuntu-latest
1m 58s
Lint: node-20, ubuntu-latest
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts > module runner hmr works as expected > correctly populates hmr client: packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts#L34
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts:34:62
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > source maps are correctly applied to stack traces: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L34
AssertionError: expected ' at /fixtures/has-error.js:2:7' to be ' at <root>/fixtures/has-error.js:2…' // Object.is equality Expected: " at <root>/fixtures/has-error.js:2:7" Received: " at /fixtures/has-error.js:2:7" ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:34:73
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > deep stacktrace: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L63
AssertionError: expected [ 'Error: crash', …(2) ] to deeply equal [ 'Error: crash', …(2) ] - Expected + Received Array [ "Error: crash", - " at crash (<root>/fixtures/has-error-deep.ts:2:9)", - " at Module.main (<root>/fixtures/has-error-deep.ts:6:3)", + " at crash (/fixtures/has-error-deep.ts:2:9)", + " at Module.main (/fixtures/has-error-deep.ts:6:3)", ] ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:63:87
Build&Test: node-22, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts > module runner hmr works as expected > correctly populates hmr client: packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts#L34
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts:34:62
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > source maps are correctly applied to stack traces: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L34
AssertionError: expected ' at /fixtures/has-error.js:2:7' to be ' at <root>/fixtures/has-error.js:2…' // Object.is equality Expected: " at <root>/fixtures/has-error.js:2:7" Received: " at /fixtures/has-error.js:2:7" ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:34:73
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > deep stacktrace: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L63
AssertionError: expected [ 'Error: crash', …(2) ] to deeply equal [ 'Error: crash', …(2) ] - Expected + Received Array [ "Error: crash", - " at crash (<root>/fixtures/has-error-deep.ts:2:9)", - " at Module.main (<root>/fixtures/has-error-deep.ts:6:3)", + " at crash (/fixtures/has-error-deep.ts:2:9)", + " at Module.main (/fixtures/has-error-deep.ts:6:3)", ] ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:63:87
Build&Test: node-20, macos-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts > module runner hmr works as expected > correctly populates hmr client: packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts#L34
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts:34:62
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > source maps are correctly applied to stack traces: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L34
AssertionError: expected ' at /fixtures/has-error.js:2:7' to be ' at <root>/fixtures/has-error.js:2…' // Object.is equality Expected: " at <root>/fixtures/has-error.js:2:7" Received: " at /fixtures/has-error.js:2:7" ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:34:73
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > deep stacktrace: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L63
AssertionError: expected [ 'Error: crash', …(2) ] to deeply equal [ 'Error: crash', …(2) ] - Expected + Received Array [ "Error: crash", - " at crash (<root>/fixtures/has-error-deep.ts:2:9)", - " at Module.main (<root>/fixtures/has-error-deep.ts:6:3)", + " at crash (/fixtures/has-error-deep.ts:2:9)", + " at Module.main (/fixtures/has-error-deep.ts:6:3)", ] ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:63:87
Build&Test: node-18, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts > module runner hmr works as expected > correctly populates hmr client: packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts#L34
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts:34:62
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > source maps are correctly applied to stack traces: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L34
AssertionError: expected ' at /fixtures/has-error.js:2:7' to be ' at <root>/fixtures/has-error.js:2…' // Object.is equality Expected: " at <root>/fixtures/has-error.js:2:7" Received: " at /fixtures/has-error.js:2:7" ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:34:73
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > deep stacktrace: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L63
AssertionError: expected [ 'Error: crash', …(2) ] to deeply equal [ 'Error: crash', …(2) ] - Expected + Received Array [ "Error: crash", - " at crash (<root>/fixtures/has-error-deep.ts:2:9)", - " at Module.main (<root>/fixtures/has-error-deep.ts:6:3)", + " at crash (/fixtures/has-error-deep.ts:2:9)", + " at Module.main (/fixtures/has-error-deep.ts:6:3)", ] ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:63:87
Build&Test: node-20, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts > module runner hmr works as expected > correctly populates hmr client: packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts#L34
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ packages/vite/src/node/ssr/runtime/__tests__/server-hmr.spec.ts:34:62
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > source maps are correctly applied to stack traces: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L34
AssertionError: expected ' at /fixtures/has-error.js:2:7' to be ' at <root>/fixtures/has-error.js:2…' // Object.is equality Expected: " at <root>/fixtures/has-error.js:2:7" Received: " at /fixtures/has-error.js:2:7" ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:34:73
packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts > module runner initialization > deep stacktrace: packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts#L63
AssertionError: expected [ 'Error: crash', …(2) ] to deeply equal [ 'Error: crash', …(2) ] - Expected + Received Array [ "Error: crash", - " at crash (<root>/fixtures/has-error-deep.ts:2:9)", - " at Module.main (<root>/fixtures/has-error-deep.ts:6:3)", + " at crash (/fixtures/has-error-deep.ts:2:9)", + " at Module.main (/fixtures/has-error-deep.ts:6:3)", ] ❯ packages/vite/src/node/ssr/runtime/__tests__/server-source-maps.spec.ts:63:87
Build&Test: node-20, windows-latest
Process completed with exit code 1.