fix(vite)!: refactor "module cache" to "evaluated modules", pass down module to "runInlinedModule" #20701
ci.yml
on: pull_request
Get changed files
4s
Lint: node-20, ubuntu-latest
1m 55s
Matrix: test
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-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-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-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.
|