Webapp Angular upgrade 15 to 16#7056
Open
cdavalos7 wants to merge 10 commits intotensorflow:masterfrom
Open
Conversation
…atibility Angular 16. Path updates in libraries and new package.lock
…ons bazel and patchbuild tool
cdavalos7
commented
Feb 17, 2026
| deps = [ | ||
| "@npm//@babel/core", | ||
| "@npm//@babel/helper-annotate-as-pure", | ||
| + "@npm//@babel/helper-split-export-declaration", |
Contributor
Author
There was a problem hiding this comment.
Only change in this file. The newer version of @angular-devkit/build-angular: 15.2.11 (resolved in yarn.lock) explicitly added @babel/helper-split-export-declaration as its own dependency. The BUILD.bazel for the optimization scripts can not find it, so needs to be added.
cdavalos7
commented
Feb 17, 2026
| - if getattr(ctx.attr, "use_angular_plugin", False): | ||
| - closure_js_files.append(ctx.actions.declare_file(basename + ".ngfactory.mjs")) | ||
| - closure_js_files.append(ctx.actions.declare_file(basename + ".ngsummary.mjs")) | ||
| - |
Contributor
Author
There was a problem hiding this comment.
In this Angular version Ivy is already available so these lines can be removed. @todos resolved.
cdavalos7
commented
Feb 17, 2026
| "@npm//:node_modules/zone.js/dist/zone-testing.js", | ||
| "@npm//:node_modules/zone.js/bundles/zone.umd.js", | ||
| "@npm//:node_modules/zone.js/bundles/zone-testing.umd.js", | ||
| "@npm//:node_modules/reflect-metadata/Reflect.js", |
Contributor
Author
There was a problem hiding this comment.
New paths for zone.js
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.
Motivation for features / changes
This PR is the first step in a planned major Angular upgrade cycle, where each major version will be delivered in a separate PR, incrementally progressing until the project reaches Angular 20.
This specific PR upgrades TensorBoard from Angular 15 to Angular 16, initiating the migration path toward Angular 20+.
Keeping the framework and aligned dependencies (NgRx, TypeScript, RxJS, zone.js, etc.) up to date ensures continued compatibility, security support, and maintainability, while preparing the project for future Angular features and ecosystem improvements.
Technical description of changes
Upgrade the TensorBoard web application from Angular 15 to Angular 16 following TensorBoard’s DEVELOPMENT.md guidelines and the official Angular migration guide.
Detailed steps to verify changes work correctly (as executed by you)