Skip to content

feat: update rsbuild and rslib version #1065

feat: update rsbuild and rslib version

feat: update rsbuild and rslib version #1065

Triggered via pull request April 2, 2026 03:45
Status Failure
Total duration 2m 59s
Artifacts

ut-Windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
ut-windows
Process completed with exit code 1.
packages/cli/builder/tests/environment.test.ts > builder environment compat > should generator environment config correctly: packages/cli/builder/tests/environment.test.ts#L43
Snapshot `builder environment compat > should generator environment config correctly 1` mismatched - Expected + Received @@ -223%2C10 +223%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -287%2C10 +288%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -841%2C10 +843%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -915%2C10 +918%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -1031%2C10 +1035%2C11 @@ "assetModuleFilename"%3A "static/assets/[name].[contenthash%3A10][ext]"%2C "bundlerInfo"%3A { "force"%3A false%2C }%2C "chunkFilename"%3A "static/js/async/[name].js"%2C + "devtoolFallbackModuleFilenameTemplate"%3A [Function]%2C "devtoolModuleFilenameTemplate"%3A [Function]%2C "filename"%3A "static/js/[name].js"%2C "path"%3A "<WORKSPACE>/packages/cli/builder/dist"%2C "publicPath"%3A "/"%2C "webassemblyModuleFilename"%3A "static/wasm/[contenthash%3A10].module.wasm"%2C @@ -1325%2C10 +1330%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -1381%2C10 +1387%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detect
packages/cli/builder/tests/default.test.ts > builder rspack > should generator rspack config correctly when service-worker: packages/cli/builder/tests/default.test.ts#L99
Snapshot `builder rspack > should generator rspack config correctly when service-worker 1` mismatched - Expected + Received @@ -115%2C10 +115%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -171%2C10 +172%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -518%2C10 +520%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -587%2C10 +590%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -712%2C10 +716%2C11 @@ "assetModuleFilename"%3A "static/assets/[name].[contenthash%3A10][ext]"%2C "bundlerInfo"%3A { "force"%3A false%2C }%2C "chunkFilename"%3A "[name].js"%2C + "devtoolFallbackModuleFilenameTemplate"%3A "[relative-resource-path]?[hash]"%2C "devtoolModuleFilenameTemplate"%3A "[relative-resource-path]"%2C "filename"%3A "[name].js"%2C "library"%3A { "type"%3A "commonjs2"%2C }%2C
packages/cli/builder/tests/default.test.ts > builder rspack > should generator rspack config correctly when node: packages/cli/builder/tests/default.test.ts#L75
Snapshot `builder rspack > should generator rspack config correctly when node 1` mismatched - Expected + Received @@ -119%2C10 +119%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -175%2C10 +176%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -541%2C10 +543%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -610%2C10 +613%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "targets"%3A [ "node >= 16"%2C ]%2C }%2C @@ -700%2C10 +704%2C11 @@ "assetModuleFilename"%3A "static/assets/[name].[contenthash%3A10][ext]"%2C "bundlerInfo"%3A { "force"%3A false%2C }%2C "chunkFilename"%3A "[name].js"%2C + "devtoolFallbackModuleFilenameTemplate"%3A "[relative-resource-path]?[hash]"%2C "devtoolModuleFilenameTemplate"%3A "[relative-resource-path]"%2C "filename"%3A "[name].js"%2C "library"%3A { "type"%3A "commonjs2"%2C }%2C
packages/cli/builder/tests/default.test.ts > builder rspack > should generator rspack config correctly when prod: packages/cli/builder/tests/default.test.ts#L51
Snapshot `builder rspack > should generator rspack config correctly when prod 1` mismatched - Expected + Received @@ -221%2C10 +221%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -285%2C10 +286%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -839%2C10 +841%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -913%2C10 +916%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A true%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -1065%2C10 +1069%2C11 @@ "assetModuleFilename"%3A "static/assets/[name].[contenthash%3A10][ext]"%2C "bundlerInfo"%3A { "force"%3A false%2C }%2C "chunkFilename"%3A "static/js/async/[name].[contenthash%3A10].js"%2C + "devtoolFallbackModuleFilenameTemplate"%3A "[relative-resource-path]?[hash]"%2C "devtoolModuleFilenameTemplate"%3A "[relative-resource-path]"%2C "filename"%3A "static/js/[name].[contenthash%3A10].js"%2C "path"%3A "<WORKSPACE>/packages/cli/builder/dist"%2C "publicPath"%3A "/"%2C "webassemblyModuleFilename"%3A "static/wasm/[contenthash%3A10].module.wasm"%2C
packages/cli/builder/tests/default.test.ts > builder rspack > should generator rspack config correctly: packages/cli/builder/tests/default.test.ts#L31
Snapshot `builder rspack > should generator rspack config correctly 1` mismatched - Expected + Received @@ -222%2C10 +222%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -286%2C10 +287%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -840%2C10 +842%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -914%2C10 +917%2C11 @@ "options"%3A { "collectTypeScriptInfo"%3A { "exportedEnum"%3A false%2C "typeExports"%3A true%2C }%2C + "detectSyntax"%3A "auto"%2C "env"%3A { "coreJs"%3A "3.48"%2C "mode"%3A "entry"%2C "targets"%3A [ "chrome >= 87"%2C @@ -1030%2C10 +1034%2C11 @@ "assetModuleFilename"%3A "static/assets/[name].[contenthash%3A10][ext]"%2C "bundlerInfo"%3A { "force"%3A false%2C }%2C "chunkFilename"%3A "static/js/async/[name].js"%2C + "devtoolFallbackModuleFilenameTemplate"%3A [Function]%2C "devtoolModuleFilenameTemplate"%3A [Function]%2C "filename"%3A "static/js/[name].js"%2C "path"%3A "<WORKSPACE>/packages/cli/builder/dist"%2C "publicPath"%3A "/"%2C "webassemblyModuleFilename"%3A "static/wasm/[contenthash%3A10].module.wasm"%2C
ut-windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-node@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/