You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2026/09/08 17:43:00 UTC

[jira] [Created] (FLINK-40600) Web dashboard: finish Vitest smoke-test coverage and tighten thin specs

Martijn Visser created FLINK-40600:
--------------------------------------

             Summary: Web dashboard: finish Vitest smoke-test coverage and tighten thin specs
                 Key: FLINK-40600
                 URL: https://issues.apache.org/jira/browse/FLINK-40600
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Web Frontend
            Reporter: Martijn Visser


FLINK-40117 added Vitest specs for most of the web dashboard views, but {{pages/application/overview}} and {{pages/application/exceptions}} still have none. Some of the added specs also only check that the mocked data was loaded and not what the component derived from it: the timeline spec doesn't assert the computed vertex and subtask ranges, the job overview spec never feeds a plan into {{ngOnInit}}, the cluster overview spec doesn't assert the derived statistics, and {{TaskManagerService}} only has tests for {{loadManagers}} and {{loadManager}}. The {{HumanizeDatePipe}} test for format 'B' relies on Angular throwing for missing locale data, which an Angular upgrade could change.

We should add the two missing specs and tighten the existing ones so that they fail when the derived values change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)