[
https://issues.apache.org/jira/browse/FLINK-40035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18093231#comment-18093231
]
Purushottam Sinha commented on FLINK-40035:
-------------------------------------------
Note: this PR also migrates the web-dashboard build. Vitest's builder
({{@angular/build:unit-test}}) needs a modern esbuild target, but the project
was still on the legacy webpack builder
({{@angular-devkit/build-angular:browser}})
from the Angular 21 upgrade — which triggered an "unsupported buildTarget"
warning. So the build/serve targets move to {{@angular/build:application}}
(the
Angular 21 default) and the unused {{@angular-devkit/build-angular}} is
dropped.
Output stays flat under {{web/}}, so packaging is unchanged.
> Add smoke-level component specs for the web-dashboard
> -----------------------------------------------------
>
> Key: FLINK-40035
> URL: https://issues.apache.org/jira/browse/FLINK-40035
> Project: Flink
> Issue Type: Technical Debt
> Components: Runtime / Web Frontend
> Reporter: Martijn Visser
> Priority: Major
>
> The web-dashboard ships no *.spec.ts files, so the only safety net for
> framework upgrades (e.g. the Angular 21 bump in FLINK-40028) is the lint +
> production-build gate plus manual click-through. Add smoke-level component
> specs (render + basic interaction) for the high-traffic, ng-zorro-heavy views
> so future Angular/ng-zorro bumps catch runtime regressions in CI. Requires
> wiring a test target (karma/jest, or the web-test-runner the new Angular
> builders support).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)