Skip to content

WIP: Rolldown build #132

WIP: Rolldown build

WIP: Rolldown build #132

Triggered via pull request August 23, 2024 09:06
Status Failure
Total duration 1m 42s
Artifacts

ci.yml

on: pull_request
Lint: node-20, ubuntu-latest
46s
Lint: node-20, ubuntu-latest
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

55 errors
Lint: node-20, ubuntu-latest: packages/vite/rollup.dts.config.ts#L104
Unexpected constant condition
Lint: node-20, ubuntu-latest: packages/vite/src/node/optimizer/rolldownDepPlugin.ts#L2
Member 'ImportKind' of the import declaration should be sorted alphabetically
Lint: node-20, ubuntu-latest: packages/vite/src/node/optimizer/scan.ts#L45
Capturing group number 1 is defined but never used
Lint: node-20, ubuntu-latest: packages/vite/src/node/plugins/reporter.ts#L120
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
Lint: node-20, ubuntu-latest
Process completed with exit code 1.
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build: packages/vite/src/node/__tests__/build.spec.ts#L148
TypeError: Cannot read properties of undefined (reading 'code') ❯ packages/vite/src/node/__tests__/build.spec.ts:148:16
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options: packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions: packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality Expected: "my-lib.umd.js" Received: "my-lib.umd.cjs" ❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry: packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should not support multiple entries: packages/vite/src/node/__tests__/build.spec.ts#L538
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:538:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:528:22
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should define build.lib.name: packages/vite/src/node/__tests__/build.spec.ts#L555
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:555:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:545:22
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build: packages/vite/src/node/__tests__/build.spec.ts#L148
TypeError: Cannot read properties of undefined (reading 'code') ❯ packages/vite/src/node/__tests__/build.spec.ts:148:16
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options: packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions: packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality Expected: "my-lib.umd.js" Received: "my-lib.umd.cjs" ❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry: packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should not support multiple entries: packages/vite/src/node/__tests__/build.spec.ts#L538
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:538:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:528:22
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should define build.lib.name: packages/vite/src/node/__tests__/build.spec.ts#L555
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:555:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:545:22
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build: packages/vite/src/node/__tests__/build.spec.ts#L148
TypeError: Cannot read properties of undefined (reading 'code') ❯ packages/vite/src/node/__tests__/build.spec.ts:148:16
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options: packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions: packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality Expected: "my-lib.umd.js" Received: "my-lib.umd.cjs" ❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry: packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should not support multiple entries: packages/vite/src/node/__tests__/build.spec.ts#L538
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:538:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:528:22
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should define build.lib.name: packages/vite/src/node/__tests__/build.spec.ts#L555
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:555:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:545:22
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build: packages/vite/src/node/__tests__/build.spec.ts#L148
TypeError: Cannot read properties of undefined (reading 'code') ❯ packages/vite/src/node/__tests__/build.spec.ts:148:16
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options: packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions: packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality Expected: "my-lib.umd.js" Received: "my-lib.umd.cjs" ❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry: packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should not support multiple entries: packages/vite/src/node/__tests__/build.spec.ts#L538
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:538:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:528:22
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should define build.lib.name: packages/vite/src/node/__tests__/build.spec.ts#L555
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:555:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:545:22
packages/vite/src/node/__tests__/build.spec.ts > build > external modules should not be hoisted in library build: packages/vite/src/node/__tests__/build.spec.ts#L148
TypeError: Cannot read properties of undefined (reading 'code') ❯ packages/vite/src/node/__tests__/build.spec.ts:148:16
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > resolves outputs from lib options: packages/vite/src/node/__tests__/build.spec.ts#L176
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:176:29
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L218
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:218:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when lib.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L226
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:226:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on iife format: packages/vite/src/node/__tests__/build.spec.ts#L235
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:235:26
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > throws an error when output.name is missing on umd format: packages/vite/src/node/__tests__/build.spec.ts#L246
AssertionError: expected [Function resolveBuild] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:246:26
packages/vite/src/node/__tests__/build.spec.ts > resolveLibFilename > module package extensions: packages/vite/src/node/__tests__/build.spec.ts#L357
AssertionError: expected 'my-lib.umd.cjs' to be 'my-lib.umd.js' // Object.is equality Expected: "my-lib.umd.js" Received: "my-lib.umd.cjs" ❯ packages/vite/src/node/__tests__/build.spec.ts:357:32
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > default format: one entry: packages/vite/src/node/__tests__/build.spec.ts#L492
AssertionError: expected [ { format: 'es' } ] to deeply equal [ { format: 'es' }, { format: 'umd' } ] - Expected + Received Array [ Object { "format": "es", }, - Object { - "format": "umd", - }, ] ❯ packages/vite/src/node/__tests__/build.spec.ts:492:70
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should not support multiple entries: packages/vite/src/node/__tests__/build.spec.ts#L538
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:538:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:528:22
packages/vite/src/node/__tests__/build.spec.ts > resolveBuildOutputs > umd or iife: should define build.lib.name: packages/vite/src/node/__tests__/build.spec.ts#L555
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ packages/vite/src/node/__tests__/build.spec.ts:555:9 ❯ packages/vite/src/node/__tests__/build.spec.ts:545:22