Skip to content

feat(@angular/build): enable chunk optimization by default with heuristics #13182

feat(@angular/build): enable chunk optimization by default with heuristics

feat(@angular/build): enable chunk optimization by default with heuristics #13182

Triggered via pull request April 9, 2026 07:30
Status Failure
Total duration 2m 26s
Artifacts

pr.yml

on: pull_request
Matrix: e2e-package-managers
Matrix: e2e
Matrix: e2e-snapshots
e2e-windows-subset
0s
e2e-windows-subset
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
lint
Process completed with exit code 1.
lint: packages/angular/build/src/utils/environment-options.ts#L178
Expected blank line before this statement
lint: packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts#L31
Import in body of module; reorder to top
lint: packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts#L30
Import in body of module; reorder to top
lint: packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts#L29
Import in body of module; reorder to top
lint: packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts#L28
Import in body of module; reorder to top
lint: packages/angular/build/src/builders/unit-test/runners/vitest/plugins.ts#L21
Import in body of module; reorder to top
lint: packages/angular/build/src/builders/application/chunk-optimizer.ts#L300
Unexpected any. Specify a different type
lint: packages/angular/build/src/builders/application/chunk-optimizer.ts#L204
Async function 'optimizeChunks' has too many lines (201). Maximum allowed is 200
lint: packages/angular/build/src/builders/application/chunk-optimizer.ts#L23
`../../utils/environment-options` import should occur after import of `../../tools/esbuild/utils`
build-e2e-windows-subset
Process completed with exit code 1.
build
Process completed with exit code 1.
build-e2e-windows-subset
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: angular/dev-infra/github-actions/bazel/configure-remote@ba726e7bca0b08b125ccc6f93c233749e1213c17. 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/
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: angular/dev-infra/github-actions/bazel/configure-remote@ba726e7bca0b08b125ccc6f93c233749e1213c17. 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/