Repository navigation
webui: Update Angular 21 dependencies to 21.2.27 - #3409
Merged
Merged
Conversation
zhangxp1998
force-pushed
the
fix-webui-angular-hang
branch
from
October 25, 2026 17:54
38ab772 to
3671d50
Compare
Update @angular/* and @angular-devkit/build-angular to the latest 21.2.x patch releases (bringing piscina from 5.1.4 to 5.3.2 and esbuild from 0.27.2 to 0.28.1) to fix worker pool teardown races that occasionally cause ng build in frontend/build-webui.sh to hang until the 6-hour CI job timeout. Bug: 576362231 Test: ./build-webui.sh
0405ysj
force-pushed
the
fix-webui-angular-hang
branch
from
November 2, 2026 08:47
3671d50 to
67348a5
Compare
0405ysj
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update
@angular/*(21.1.4->21.2.25),@angular/cdk/@angular/material(21.1.4->21.2.14), and@angular/cli/@angular-devkit/build-angular(21.1.4->21.2.27) infrontend/src/operator/webui.Problem & CI Log Evidence
During Debian package builds (
tools/buildutils/build_packages.sh->frontend/build-webui.sh),./node_modules/.bin/ng build(@angular/cli@21.1.4+@angular-devkit/build-angular@21.1.4) occasionally finishes compiling and emitting all bundles, prints its final webpack summary line, and then thenodeprocess never exits — hanging the job for ~5h 42m until the 6-hour GitHub Actions timeout cancels it:build-debian-package-arm64(job119155775281, 2026-10-21):build-debian-package-amd64(job117159484421, 2026-10-16):Root Cause & Upstream Fixes
@angular/cli(lib/init.js) setsprocess.exitCoderather than callingprocess.exit(), relying on the Node.js event loop draining all active handles afterng buildcompletes. In@angular/cli@21.1.4/@angular-devkit/build-angular@21.1.4:esbuildservice child process leak (angular/angular-cli#33201): one-shot (watch: false) builds leakedesbuild --service --pingchild processes (ChildProcessand stdio stream handles remaining referenced inprocess._getActiveHandles()), preventing the Node.js process from exiting after bundle generation finished. Fixed upstream in angular/angular-cli#33267 and backported to21.2.xinangular/angular-cli@d46c082f.piscina/esbuildworker pool updates:@angular-devkit/build-angular@21.2.27also includes the21.2.xbackports bumpingpiscina(5.1.4->5.3.2) andesbuild(0.27.2->0.28.1) (angular/angular-cli#33421, angular/angular-cli#34243).Bug: 576362231
Test:
cd frontend && ./build-webui.sh && ./src/goutil src/operator test ./...