Repository navigation
feat(ui): add multi-select test case status filter - #31662
Conversation
✅ Playwright Results — workflow succeededValidated commit ✅ 788 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 1h 3m 27s ⏱️ Max setup 5m 37s · max shard execution 16m 41s · max shard-job elapsed before upload 20m 32s · reporting 6s 🌐 214.20 requests/attempt · 2.60 app boots/UI scenario · 28.27% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
| Count | Rule |
|---|---|
| 8 | openmetadata-imports/no-lower-layer-page-imports |
| 6 | openmetadata-imports/no-impure-pure-utils |
| 3 | jsx-a11y/control-has-associated-label |
| 3 | sonarjs/cyclomatic-complexity |
| 2 | openmetadata-imports/no-circular-imports |
| 2 | react-hooks/exhaustive-deps |
| 2 | openmetadata-imports/no-rest-ui-imports |
| 1 | openmetadata-imports/no-internal-barrel-imports |
| 1 | sonarjs/no-nested-conditional |
| 1 | sonarjs/cognitive-complexity |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/DataQuality/ChartWidgets/EntityHealthStatusPieChartWidget/EntityHealthStatusPieChartWidget.test.tsx:57:11 |
jsx-a11y/control-has-associated-label |
A control must be associated with a text label. |
| 🟡 | src/components/DataQuality/ChartWidgets/EntityHealthStatusPieChartWidget/EntityHealthStatusPieChartWidget.test.tsx:63:11 |
jsx-a11y/control-has-associated-label |
A control must be associated with a text label. |
| 🟡 | src/components/DataQuality/DataQuality.interface.ts:21:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/DataQuality/TestCases/TestCases.component.tsx:27:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/DataQuality/TestCases/TestCases.component.tsx:28:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/DataQuality/TestCases/TestCases.component.tsx:37:1 |
openmetadata-imports/no-circular-imports |
This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency. |
| 🟡 | src/components/DataQuality/TestCases/TestCases.component.tsx:39:29 |
sonarjs/cyclomatic-complexity |
{"message":"Function has a complexity of 14 which is greater than 10 authorized.","cost":4,"secondaryLocations":[{"line":39,"column":28,"endLine":39,"endColumn" |
| 🟡 | src/components/DataQuality/TestCases/TestCases.test.tsx:20:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/DataQuality/TestCases/TestCases.test.tsx:122:7 |
jsx-a11y/control-has-associated-label |
A control must be associated with a text label. |
| 🟡 | src/components/DataQuality/TestCases/useTestCaseFilters.ts:213:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'getInitialOptions', 'handleSearchParam', and 'onSearchByKey'. Either include them or remove the dependency array. |
| 🟡 | src/components/DataQuality/TestCases/useTestCaseList.test.ts:20:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/DataQuality/TestCases/useTestCaseList.ts:31:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/components/DataQuality/TestCases/useTestCaseList.ts:189:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'getTestCases'. Either include it or remove the dependency array. |
| 🟡 | src/rest/dataQualityDashboardAPI.test.ts:14:1 |
openmetadata-imports/no-rest-ui-imports |
REST clients must not import UI or state-layer modules. Move shared request/response types to the interface layer. |
| 🟡 | src/rest/testAPI.ts:47:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/rest/testAPI.ts:47:1 |
openmetadata-imports/no-rest-ui-imports |
REST clients must not import UI or state-layer modules. Move shared request/response types to the interface layer. |
| 🟡 | src/rest/testAPI.ts:49:1 |
openmetadata-imports/no-internal-barrel-imports |
Import the internal module directly instead of its index barrel so unrelated siblings do not enter the bundle graph. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:34:1 |
openmetadata-imports/no-impure-pure-utils |
Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:35:1 |
openmetadata-imports/no-impure-pure-utils |
Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:36:1 |
openmetadata-imports/no-impure-pure-utils |
Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:37:1 |
openmetadata-imports/no-impure-pure-utils |
Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:55:1 |
openmetadata-imports/no-impure-pure-utils |
Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:55:1 |
openmetadata-imports/no-lower-layer-page-imports |
Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:59:1 |
openmetadata-imports/no-impure-pure-utils |
Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:66:1 |
openmetadata-imports/no-circular-imports |
This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:134:49 |
sonarjs/cyclomatic-complexity |
{"message":"Function has a complexity of 16 which is greater than 10 authorized.","cost":6,"secondaryLocations":[{"line":134,"column":48,"endLine":134,"endColum |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:146:9 |
sonarjs/no-nested-conditional |
Extract this nested ternary operation into an independent statement. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:381:4 |
sonarjs/cognitive-complexity |
Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed. |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:381:4 |
sonarjs/cyclomatic-complexity |
{"message":"Function has a complexity of 22 which is greater than 10 authorized.","cost":12,"secondaryLocations":[{"line":381,"column":3,"endLine":381,"endColum |
| 🟡 | src/utils/DataQuality/DataQualityPureUtils.ts:630:29 |
sonarjs/no-duplicate-string |
Define a constant instead of duplicating this literal 3 times. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed
🚦 Removed from the merge queue —
|
🚦 Removed from the merge queue —
|
|
Heads-up from merge-queue triage: this PR's queue entries are being ejected by a deterministic failure in a spec the targeted PR run doesn't cover. Failure (queue runs 32254270577, and inherited by stacked entries like 32254896751): The new multi-select status filter changes the Fix: update |
🚦 Removed from the merge queue —
|
|
Code Review ✅ Approved 1 resolved / 1 findingsAdds multi-select test case status filtering to the Data Quality tab with URL state preservation and comma-separated REST serialization. No issues found. ✅ 1 resolved✅ Quality: Status-sync effect re-runs on every render
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |



Describe your changes:
Fixes #31684
Related backend support: #31498
Adds multi-select test case status filtering to the Data Quality Test Cases tab while retaining the existing Ant Design
Select. Selected statuses remain URL-backed and are serialized as one comma-separated status parameter for the listing API.Clicking the overview health chart opens the Test Cases tab with these status filters:
Success,QueuedFailed,AbortedDashboard batch-report queries now serialize multiple status values as an Elasticsearch
termsclause. Scalar legacy status values remain supported withterm.Screen.Recording.2026-08-18.at.2.47.06.PM.mov
Type of change:
High-level design:
mode="multiple"and status-only options.termsfor multi-status dashboard report filters so batch aggregation requests use OR semantics.Tests:
Use cases covered
termsquery for multiple statuses.Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
UI screen recording / screenshots:
Not attached.
Checklist:
Fixes <issue-number>: <short explanation>— N/A, follow-up to MINOR - feat(dq): accept multiple testCaseStatus values on testCases/search/list #31498.Fixes #<issue-number>above — N/A, related backend PR is MINOR - feat(dq): accept multiple testCaseStatus values on testCases/search/list #31498.Improvement:
Greptile Summary
The PR extends Data Quality test-case status filtering from a scalar selection to URL-backed multi-selection.
termsclauses for multi-status dashboard reports.Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
termversus arraytermsdashboard clauses.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR Chart["Health chart segment"] --> URL["URL status array"] Select["AntD multi-select"] --> URL URL --> Parse["Parse scalar or array"] Parse --> Form["Normalize to array for form"] Parse --> List["Join statuses with commas"] List --> API["Test-case listing API"] Parse --> Query["Build term or terms clause"] Query --> Batch["Dashboard batch report"]Reviews (9): Last reviewed commit: "test(ui): fix status filter merge-queue ..." | Re-trigger Greptile
Context used: