Repository navigation
refactor(ui): render Data Marketplace home page on the main app layout - #27377
Conversation
- Route /data-marketplace through the default AppContainer (LeftSidebar + NavBar). NavBar already styles itself transparent for this path, so the existing marketplace hero flows under it with no extra CSS. - Drop /data-marketplace/* sub-routes. MarketplaceLayout, MarketplaceNavBar, MarketplaceSubPageLayout, and the new core-components Sidebar remain on disk so the standalone shell can be reintroduced later. - Render home-page domain and data-product cards with Avatar + getEntityAvatarProps (same helper used by the old list and detail pages). Per-entity style.iconURL / style.color and the Globe01 / Cube01 fallbacks now match the rest of the app. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
There was a problem hiding this comment.
Pull request overview
Refactors the Data Marketplace UI to render the /data-marketplace home page inside the standard authenticated app shell (LeftSidebar + NavBar) and aligns marketplace card avatars with the rest of the app.
Changes:
- Mount
/data-marketplacedirectly under the default authenticated layout and remove/data-marketplace/*sub-routes. - Update marketplace domain/data product cards to use the shared
<Avatar {...getEntityAvatarProps(...)}/>rendering. - Simplify
MarketplaceItemCardto accept a fully-rendered icon node (no internal background wrapper).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| openmetadata-ui/src/main/resources/ui/src/constants/CustomSidebar.constants.ts | Disables “new layout route” handling by clearing CUSTOM_SIDEBAR_ROUTES. |
| openmetadata-ui/src/main/resources/ui/src/components/DataMarketplace/MarketplaceItemCard/MarketplaceItemCard.component.tsx | Removes internal icon background wrapper; renders provided icon node directly. |
| openmetadata-ui/src/main/resources/ui/src/components/DataMarketplace/MarketplaceDomainsWidget/MarketplaceDomainsWidget.component.tsx | Switches domain card icons to shared Avatar helper props. |
| openmetadata-ui/src/main/resources/ui/src/components/DataMarketplace/MarketplaceDataProductsWidget/MarketplaceDataProductsWidget.component.tsx | Switches data product card icons to shared Avatar helper props. |
| openmetadata-ui/src/main/resources/ui/src/components/AppRouter/AuthenticatedAppRouter.tsx | Removes nested /data-marketplace/* routes and mounts only /data-marketplace. |
| <Route element={<DataMarketplacePage />} path={ROUTES.DATA_MARKETPLACE} /> | ||
| <Route element={<SwaggerPage />} path={ROUTES.SWAGGER} /> | ||
| <Route element={<DomainVersionPage />} path={ROUTES.DOMAIN_VERSION} /> | ||
| <Route element={<UserPage />} path={ROUTES.USER_PROFILE_WITH_SUB_TAB} /> |
There was a problem hiding this comment.
Removing the /data-marketplace/* sub-routes changes navigation targets, but existing Playwright E2E specs still expect URLs under /data-marketplace/domains and /data-marketplace/data-products (e.g., playwright/e2e/Pages/DataMarketplace.spec.ts and related specs). CI will likely fail unless those tests (and any helpers) are updated to assert the new destinations (/domain/..., /dataProduct/..., and list pages).
Code Review ✅ ApprovedRefactors the Data Marketplace home page to utilize the main application layout for consistent UI presentation. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
…pen-metadata#30451) * test(ui): re-enable Domains, Data Product & domain-rename E2E suites Re-enables E2E coverage that was disabled by the mass-skip open-metadata#29909 and a few one-off skips, fixing the tests that had broken from UI migrations. Fixed: - Domains (9 suites): 47/49 already passed once run; fixed the 2 real failures, both migration selector drifts — "Add Assets" moved to the core-ui `asset-selection-modal` Dialog (old `form-heading` testid gone), and the tree toggle is now a `radio`, not a `button`. - DomainDataProductsWidgets: marked `test.describe.serial` (the suite is one sequential scenario: assign widgets -> add assets -> verify -> remove), and fixed the data-product asset-removal count-timing bug — wait for the asset card to render before counting, otherwise count() reads 0 and removes nothing. - GlossaryNavigation empty-state: assert the empty-glossary placeholder (message.no-glossary-term) instead of the "No Glossary Term found" row that only a non-matching status filter shows. Unskipped as-is (passed without changes): - Glossary "Request description task for Glossary Term" - EntityRenameConsolidation domain rename (x2) Left skipped (blocked on product/BE work, still documented): - DataMarketplace x3 (routes removed in open-metadata#27377) - GlossaryStatusFilterNestedTerms x5 (flat nested status-filter results not implemented; status-only queries route through directChildrenOf) - Glossary "Term should stay approved" (BE approval-workflow reverts it) BulkImport is untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(e2e): repair three specs that broke against current main Domains "Create DataProducts and add remove assets": the assets empty-state CTA lost its data-testid in open-metadata#30489 — CreatePlaceholder maps the action's id onto the button's DOM id — so select it by id instead. GlossaryNavigation empty state: open-metadata#30057 replaced the ErrorPlaceHolder text ("...there are no Glossary Terms defined...") with an EmptyPlaceholder, and message.no-glossary-term is now unused. Assert the placeholder testid, matching CustomizeDetailPage.spec.ts. Glossary "Request description task for Glossary Term": restore { navigate: true } so performAdminLogin returns an authenticated page rather than taking the API-only path, and replace the one-shot textContent read with a web-first assertion — it read an empty container before the description rendered, mirroring the sibling glossary-level test. Co-Authored-By: Claude <[email protected]> * ci(playwright): track the 25m shard wrapper in the perf gate open-metadata#30689 raised the shard step's `timeout ... 21m` wrapper to 25m and the job `timeout-minutes` 30 -> 35, but left the blocking performance target at `maxExecutionSeconds <= 1260`. That opened a 21-25 minute band where a shard completes well inside its timeout and every test passes, yet evaluate_playwright_performance.py fails the run and playwright-summary reports it as a CI/reporting failure with zero test failures. Merge-queue run 30590319979 for open-metadata#30451 landed in exactly that band: all 34 shards green, slowest execution 1396s, blocked solely by this target. Move the target to 1500s so it tracks the wrapper, and rename it to match. * ci(playwright): give shards 30m and keep the gates tracking the wrapper chromium-18 was killed by the 25m timeout wrapper on merge-queue run 30603720876 (exit 124, PW_EXECUTION_SECONDS=1500): 244 tests planned, 236 finished, 8 never ran. The shard genuinely needs more than 25 minutes, so raising the gate alone is not enough — the wrapper has to move too. - shard wrapper 25m -> 30m - job timeout-minutes 35 -> 40; the killed job's wall was 28m46s against a 25m wrapper, so overhead is ~4m and 35 would leave almost none. Keeping the job clock a clear 10m above the wrapper means the wrapper always trips first, which fails the shard cleanly instead of cancelling mid-upload. - executionAtMostTwentyFiveMinutes (1500) -> executionAtMostThirtyMinutes (1800) - shardsAtMostThirtyMinutesBeforeUpload (1800) -> shardsAtMostThirtyFiveMinutesBeforeUpload (2100); elapsed runs ~200s above execution, so a 30m wrapper would otherwise breach the old 1800s cap. This does not reduce the underlying skew: the same run had 35.67% common shard skew, so one shard runs ~30m while others finish in 3m. That stays a convergence warning and wants a planner fix, not a bigger timeout. * ci(playwright): restore real weights for re-enabled specs in the timing baseline The planner weights every test from timing-baseline.json. load_history pins a recorded `skipped` entry to 0: elif test_id and test.get("outcome") == "skipped": durations[test_id].append(0) and build_playwright_shards.py reads it as test_weights.get(test_id, identity_weights.get(..., FALLBACK_TEST_MS)) so an explicit 0 wins over the 20 s fallback. Once a PR re-enables those specs the planner still costs them at zero, packs them onto one shard, and the shard overruns its wrapper with no warning: on merge-queue run 30603720876 chromium-18 was predicted at 18.8 min (predictedExecutionMs 1128075) and was killed at the 25 min wrapper with 8 of 244 tests unrun. Domains.spec.ts alone ran 1157 s there against a recorded weight of 0. Refresh the 76 entries that were recorded `skipped` with 0 ms and have real durations in the timing history of run 30590319979 (mode=full, all 34 shards green): +1500 s of weight the planner could not previously see. Entries still skipped in that run keep their zero, and the two genuinely instant `expected` 0 ms entries are left alone — they already fall through to FALLBACK_TEST_MS, and test_versioned_baseline_only_uses_zero_weight_for_skipped_ids asserts it. Replanned locally against the real `playwright test --list` for this branch: workers Domains.spec.ts spread max tests/shard chromium shards 3 2 -> 9 shards 243 -> 213 22 -> 23 4 2 -> 7 shards 343 -> 280 17 -> 17 Predicted execution stays ~18.5-18.8 min, but it is now honest: the weight the shard actually carries is visible to the planner instead of arriving as ~7.5 min of unbudgeted work at 3 workers. * Revert "ci(playwright): restore real weights for re-enabled specs in the timing baseline" Drops the timing-baseline.json change from this PR so it carries only the re-enabled specs. The zero-weight planner blind spot it addressed is real — Domains.spec.ts is recorded at 0 ms against ~1073 s of actual work, which is what let chromium-18 be planned at 18.8 min and killed by the 25 min wrapper — but it will be handled by splitting the spec instead: moving the tests to new files changes their Playwright ids (the id prefix is a per-file hash), so the stale zero-weight entries no longer match and the tests fall through to FALLBACK_TEST_MS. Note this also gives up the restored weights for the other files the baseline patch covered, ~468 s in total, notably DomainDataProductsWidgets.spec.ts (186.5 s) and EntityRenameConsolidation.spec.ts (26.6 s), both re-enabled by this PR and now back at zero. --------- Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…30451) (#30777) * test(ui): re-enable Domains, Data Product & domain-rename E2E suites Re-enables E2E coverage that was disabled by the mass-skip #29909 and a few one-off skips, fixing the tests that had broken from UI migrations. Fixed: - Domains (9 suites): 47/49 already passed once run; fixed the 2 real failures, both migration selector drifts — "Add Assets" moved to the core-ui `asset-selection-modal` Dialog (old `form-heading` testid gone), and the tree toggle is now a `radio`, not a `button`. - DomainDataProductsWidgets: marked `test.describe.serial` (the suite is one sequential scenario: assign widgets -> add assets -> verify -> remove), and fixed the data-product asset-removal count-timing bug — wait for the asset card to render before counting, otherwise count() reads 0 and removes nothing. - GlossaryNavigation empty-state: assert the empty-glossary placeholder (message.no-glossary-term) instead of the "No Glossary Term found" row that only a non-matching status filter shows. Unskipped as-is (passed without changes): - Glossary "Request description task for Glossary Term" - EntityRenameConsolidation domain rename (x2) Left skipped (blocked on product/BE work, still documented): - DataMarketplace x3 (routes removed in #27377) - GlossaryStatusFilterNestedTerms x5 (flat nested status-filter results not implemented; status-only queries route through directChildrenOf) - Glossary "Term should stay approved" (BE approval-workflow reverts it) BulkImport is untouched. * fix(e2e): repair three specs that broke against current main Domains "Create DataProducts and add remove assets": the assets empty-state CTA lost its data-testid in #30489 — CreatePlaceholder maps the action's id onto the button's DOM id — so select it by id instead. GlossaryNavigation empty state: #30057 replaced the ErrorPlaceHolder text ("...there are no Glossary Terms defined...") with an EmptyPlaceholder, and message.no-glossary-term is now unused. Assert the placeholder testid, matching CustomizeDetailPage.spec.ts. Glossary "Request description task for Glossary Term": restore { navigate: true } so performAdminLogin returns an authenticated page rather than taking the API-only path, and replace the one-shot textContent read with a web-first assertion — it read an empty container before the description rendered, mirroring the sibling glossary-level test. * ci(playwright): track the 25m shard wrapper in the perf gate #30689 raised the shard step's `timeout ... 21m` wrapper to 25m and the job `timeout-minutes` 30 -> 35, but left the blocking performance target at `maxExecutionSeconds <= 1260`. That opened a 21-25 minute band where a shard completes well inside its timeout and every test passes, yet evaluate_playwright_performance.py fails the run and playwright-summary reports it as a CI/reporting failure with zero test failures. Merge-queue run 30590319979 for #30451 landed in exactly that band: all 34 shards green, slowest execution 1396s, blocked solely by this target. Move the target to 1500s so it tracks the wrapper, and rename it to match. * ci(playwright): give shards 30m and keep the gates tracking the wrapper chromium-18 was killed by the 25m timeout wrapper on merge-queue run 30603720876 (exit 124, PW_EXECUTION_SECONDS=1500): 244 tests planned, 236 finished, 8 never ran. The shard genuinely needs more than 25 minutes, so raising the gate alone is not enough — the wrapper has to move too. - shard wrapper 25m -> 30m - job timeout-minutes 35 -> 40; the killed job's wall was 28m46s against a 25m wrapper, so overhead is ~4m and 35 would leave almost none. Keeping the job clock a clear 10m above the wrapper means the wrapper always trips first, which fails the shard cleanly instead of cancelling mid-upload. - executionAtMostTwentyFiveMinutes (1500) -> executionAtMostThirtyMinutes (1800) - shardsAtMostThirtyMinutesBeforeUpload (1800) -> shardsAtMostThirtyFiveMinutesBeforeUpload (2100); elapsed runs ~200s above execution, so a 30m wrapper would otherwise breach the old 1800s cap. This does not reduce the underlying skew: the same run had 35.67% common shard skew, so one shard runs ~30m while others finish in 3m. That stays a convergence warning and wants a planner fix, not a bigger timeout. * ci(playwright): restore real weights for re-enabled specs in the timing baseline The planner weights every test from timing-baseline.json. load_history pins a recorded `skipped` entry to 0: elif test_id and test.get("outcome") == "skipped": durations[test_id].append(0) and build_playwright_shards.py reads it as test_weights.get(test_id, identity_weights.get(..., FALLBACK_TEST_MS)) so an explicit 0 wins over the 20 s fallback. Once a PR re-enables those specs the planner still costs them at zero, packs them onto one shard, and the shard overruns its wrapper with no warning: on merge-queue run 30603720876 chromium-18 was predicted at 18.8 min (predictedExecutionMs 1128075) and was killed at the 25 min wrapper with 8 of 244 tests unrun. Domains.spec.ts alone ran 1157 s there against a recorded weight of 0. Refresh the 76 entries that were recorded `skipped` with 0 ms and have real durations in the timing history of run 30590319979 (mode=full, all 34 shards green): +1500 s of weight the planner could not previously see. Entries still skipped in that run keep their zero, and the two genuinely instant `expected` 0 ms entries are left alone — they already fall through to FALLBACK_TEST_MS, and test_versioned_baseline_only_uses_zero_weight_for_skipped_ids asserts it. Replanned locally against the real `playwright test --list` for this branch: workers Domains.spec.ts spread max tests/shard chromium shards 3 2 -> 9 shards 243 -> 213 22 -> 23 4 2 -> 7 shards 343 -> 280 17 -> 17 Predicted execution stays ~18.5-18.8 min, but it is now honest: the weight the shard actually carries is visible to the planner instead of arriving as ~7.5 min of unbudgeted work at 3 workers. * Revert "ci(playwright): restore real weights for re-enabled specs in the timing baseline" Drops the timing-baseline.json change from this PR so it carries only the re-enabled specs. The zero-weight planner blind spot it addressed is real — Domains.spec.ts is recorded at 0 ms against ~1073 s of actual work, which is what let chromium-18 be planned at 18.8 min and killed by the 25 min wrapper — but it will be handled by splitting the spec instead: moving the tests to new files changes their Playwright ids (the id prefix is a per-file hash), so the stale zero-weight entries no longer match and the tests fall through to FALLBACK_TEST_MS. Note this also gives up the restored weights for the other files the baseline patch covered, ~468 s in total, notably DomainDataProductsWidgets.spec.ts (186.5 s) and EntityRenameConsolidation.spec.ts (26.6 s), both re-enabled by this PR and now back at zero. --------- (cherry picked from commit 64c33fc) Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
These five differ from the four glossary tests removed earlier in this PR: they were born **active and green** in #26255 (`e90ab792f6`, 2026-04-06) and ran for ten days. #27377 (`3129a14b10`) then removed the `/data-marketplace/*` sub-routes they navigate to and skipped them in the same commit, noting "re-enable when the standalone marketplace shell is reintroduced". That shell has not been reintroduced in four months, so the skips are now a permanent fixture rather than a pending re-enable. Confirmed dead by running them un-skipped: all five fail at 1.0m on both a real 1.13 stack and a real main stack — the navigation target does not exist. Scope is the five dead navigation tests, **not** the three spec files. The marketplace page is alive — 11 marketplace components ship on every branch — and the files retain 8 passing tests covering rendering, data-product and domain creation via the drawer, the search empty state, the search popover, and the admin-vs-consumer permission split. Deleting the files would have taken that with them. If the standalone marketplace shell returns, these are better rewritten against the new routes than restored from a four-month-old skip. Prettier clean; eslint 0 errors. Co-Authored-By: Claude <[email protected]>
…removed routes), re-enable 2 that pass (#30843) (#30912) * test(glossary): drop four status-filter tests that were never implemented These four arrived skipped in #25428 (`12d85f310f`), the same commit that created the file, and have never executed once in five months. They are not regressions and not flakes — they are a specification for behaviour the backend does not have. Each carried its own reason inline from birth: "Requires backend to return nested terms as flat results when filtered". That is accurate. The glossary term listing sends `directChildrenOf` and `entityStatus` on the same request (`glossaryAPI.ts` `getFirstLevelGlossaryTermsPaginated`), and the backend ANDs them (`GlossaryTermResource` `.addQueryParam("directChildrenOf", …).addQueryParam("entityStatus", …)`), so a nested term is eliminated by the hierarchy filter before its status is ever considered. No status value can surface a grandchild as a flat result. Confirmed by running them: on a real 1.13 stack all four fail at ~17.5s (the locator timeout — the term genuinely never renders), while every sibling test that asserts only root-level terms passes. `glossaryAPI.ts` and `GlossaryTermResource` are byte-identical across 1.13, main and 2.0, so the outcome is the same everywhere. Removed rather than left skipped: five bare `test.skip`s surface on every nightly triage list as if they were failures, and cost review attention each time someone asks why the glossary suite is red. If flat subtree filtering is built, these are better rewritten against the real API than resurrected from a five-month-old skip. No fixtures are orphaned — `basicChild`, `multiChild`, `deepTerms` and the rest are still used by the surviving tests. Prettier and eslint clean. * test(e2e): re-enable four specs that pass on main today Each of these was written active and green, then skipped later when something broke. All four pass now on a real main stack built from this branch point (`revision 64df7a3`), so the markers are stale: | Test | Skipped since | Measured on main | |---|---|---| | `ActivityFeed › Mention notification shows correct user details` | #25894 (`test.fixme`) | 9.4s | | `CustomizeWidgets › KPI Widget` | `test.fixme` | 30.3s | | `Glossary › Term should stay approved when changes made by reviewer` | BE approval workflow | 1.0m | | `GlossaryStatusFilter › change filter while expanded updates visible root terms` | #25428 | 2.8s | `Term should stay approved` is the interesting one: its documented cause was the async approval workflow reverting a PATCHed entityStatus, and #29931 fixed exactly that machinery (approve/reject condition scheme, duplicate edges, stuck resolves) in July. main carries #29931; the test now passes. `change filter while expanded` never ran — it was born skipped in #25428 claiming "re-filtering expanded state isn't fully implemented". That shipped at some point and nobody revisited the marker. It is kept rather than deleted precisely because it passes: it is the one test in that file whose skip was stale rather than blocked on the missing backend support. Stale `eslint-disable playwright/no-skipped-test` directives removed with their skips, otherwise they become unused-directive errors. Prettier clean; eslint 0 errors. * Revert re-enabling KPI Widget and the ActivityFeed mention test Both pass on a main stack (30.3s and 9.4s), but they are out of scope for this PR and stay skipped. The two re-enables that remain — Term should stay approved and change filter while expanded — are unaffected. * test(marketplace): drop five navigation tests whose routes were removed These five differ from the four glossary tests removed earlier in this PR: they were born **active and green** in #26255 (`e90ab792f6`, 2026-04-06) and ran for ten days. #27377 (`3129a14b10`) then removed the `/data-marketplace/*` sub-routes they navigate to and skipped them in the same commit, noting "re-enable when the standalone marketplace shell is reintroduced". That shell has not been reintroduced in four months, so the skips are now a permanent fixture rather than a pending re-enable. Confirmed dead by running them un-skipped: all five fail at 1.0m on both a real 1.13 stack and a real main stack — the navigation target does not exist. Scope is the five dead navigation tests, **not** the three spec files. The marketplace page is alive — 11 marketplace components ship on every branch — and the files retain 8 passing tests covering rendering, data-product and domain creation via the drawer, the search empty state, the search popover, and the admin-vs-consumer permission split. Deleting the files would have taken that with them. If the standalone marketplace shell returns, these are better rewritten against the new routes than restored from a four-month-old skip. Prettier clean; eslint 0 errors. * Fix UI checkstyle: drop dead import and two stale skip comments `ui-checkstyle` failed on DataMarketplacePermissions.spec.ts. Removing the "Data consumer can search and view results" test left `searchMarketplace` imported and unused (0 references), which `organize-imports-cli` strips. CI's Playwright step is organize-imports -> eslint --fix -> prettier --write; the earlier local pass ran only eslint and prettier, and neither flags a dead import, which is why this got through locally but not in CI. Also removes two skip-reason comments left above tests re-enabled earlier in this PR, flagged in review — the source contradicted itself: - Glossary.spec.ts: "Need to fix the workflow from BE end, as it constantly failing in the AUT's" above the now-active `Term should stay approved` - GlossaryStatusFilterNestedTerms.spec.ts: "Skip: Requires re-filtering expanded state which isn't fully implemented" above the now-active `change filter while expanded` ActivityFeed.spec.ts's comment is left alone — that un-skip was reverted, so its note still matches a `test.fixme`. Verified by re-running the full CI sequence: idempotent, 0 eslint errors. --------- (cherry picked from commit aeafd62) Co-authored-by: Claude <[email protected]>
…removed routes), re-enable 2 that pass (open-metadata#30843) * test(glossary): drop four status-filter tests that were never implemented These four arrived skipped in open-metadata#25428 (`12d85f310f`), the same commit that created the file, and have never executed once in five months. They are not regressions and not flakes — they are a specification for behaviour the backend does not have. Each carried its own reason inline from birth: "Requires backend to return nested terms as flat results when filtered". That is accurate. The glossary term listing sends `directChildrenOf` and `entityStatus` on the same request (`glossaryAPI.ts` `getFirstLevelGlossaryTermsPaginated`), and the backend ANDs them (`GlossaryTermResource` `.addQueryParam("directChildrenOf", …).addQueryParam("entityStatus", …)`), so a nested term is eliminated by the hierarchy filter before its status is ever considered. No status value can surface a grandchild as a flat result. Confirmed by running them: on a real 1.13 stack all four fail at ~17.5s (the locator timeout — the term genuinely never renders), while every sibling test that asserts only root-level terms passes. `glossaryAPI.ts` and `GlossaryTermResource` are byte-identical across 1.13, main and 2.0, so the outcome is the same everywhere. Removed rather than left skipped: five bare `test.skip`s surface on every nightly triage list as if they were failures, and cost review attention each time someone asks why the glossary suite is red. If flat subtree filtering is built, these are better rewritten against the real API than resurrected from a five-month-old skip. No fixtures are orphaned — `basicChild`, `multiChild`, `deepTerms` and the rest are still used by the surviving tests. Prettier and eslint clean. Co-Authored-By: Claude <[email protected]> * test(e2e): re-enable four specs that pass on main today Each of these was written active and green, then skipped later when something broke. All four pass now on a real main stack built from this branch point (`revision 64df7a3`), so the markers are stale: | Test | Skipped since | Measured on main | |---|---|---| | `ActivityFeed › Mention notification shows correct user details` | open-metadata#25894 (`test.fixme`) | 9.4s | | `CustomizeWidgets › KPI Widget` | `test.fixme` | 30.3s | | `Glossary › Term should stay approved when changes made by reviewer` | BE approval workflow | 1.0m | | `GlossaryStatusFilter › change filter while expanded updates visible root terms` | open-metadata#25428 | 2.8s | `Term should stay approved` is the interesting one: its documented cause was the async approval workflow reverting a PATCHed entityStatus, and open-metadata#29931 fixed exactly that machinery (approve/reject condition scheme, duplicate edges, stuck resolves) in July. main carries open-metadata#29931; the test now passes. `change filter while expanded` never ran — it was born skipped in open-metadata#25428 claiming "re-filtering expanded state isn't fully implemented". That shipped at some point and nobody revisited the marker. It is kept rather than deleted precisely because it passes: it is the one test in that file whose skip was stale rather than blocked on the missing backend support. Stale `eslint-disable playwright/no-skipped-test` directives removed with their skips, otherwise they become unused-directive errors. Prettier clean; eslint 0 errors. Co-Authored-By: Claude <[email protected]> * Revert re-enabling KPI Widget and the ActivityFeed mention test Both pass on a main stack (30.3s and 9.4s), but they are out of scope for this PR and stay skipped. The two re-enables that remain — Term should stay approved and change filter while expanded — are unaffected. Co-Authored-By: Claude <[email protected]> * test(marketplace): drop five navigation tests whose routes were removed These five differ from the four glossary tests removed earlier in this PR: they were born **active and green** in open-metadata#26255 (`e90ab792f6`, 2026-04-06) and ran for ten days. open-metadata#27377 (`3129a14b10`) then removed the `/data-marketplace/*` sub-routes they navigate to and skipped them in the same commit, noting "re-enable when the standalone marketplace shell is reintroduced". That shell has not been reintroduced in four months, so the skips are now a permanent fixture rather than a pending re-enable. Confirmed dead by running them un-skipped: all five fail at 1.0m on both a real 1.13 stack and a real main stack — the navigation target does not exist. Scope is the five dead navigation tests, **not** the three spec files. The marketplace page is alive — 11 marketplace components ship on every branch — and the files retain 8 passing tests covering rendering, data-product and domain creation via the drawer, the search empty state, the search popover, and the admin-vs-consumer permission split. Deleting the files would have taken that with them. If the standalone marketplace shell returns, these are better rewritten against the new routes than restored from a four-month-old skip. Prettier clean; eslint 0 errors. Co-Authored-By: Claude <[email protected]> * Fix UI checkstyle: drop dead import and two stale skip comments `ui-checkstyle` failed on DataMarketplacePermissions.spec.ts. Removing the "Data consumer can search and view results" test left `searchMarketplace` imported and unused (0 references), which `organize-imports-cli` strips. CI's Playwright step is organize-imports -> eslint --fix -> prettier --write; the earlier local pass ran only eslint and prettier, and neither flags a dead import, which is why this got through locally but not in CI. Also removes two skip-reason comments left above tests re-enabled earlier in this PR, flagged in review — the source contradicted itself: - Glossary.spec.ts: "Need to fix the workflow from BE end, as it constantly failing in the AUT's" above the now-active `Term should stay approved` - GlossaryStatusFilterNestedTerms.spec.ts: "Skip: Requires re-filtering expanded state which isn't fully implemented" above the now-active `change filter while expanded` ActivityFeed.spec.ts's comment is left alone — that un-skip was reverted, so its note still matches a `test.fixme`. Verified by re-running the full CI sequence: idempotent, 0 eslint errors. Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
…pen-metadata#30451) * test(ui): re-enable Domains, Data Product & domain-rename E2E suites Re-enables E2E coverage that was disabled by the mass-skip open-metadata#29909 and a few one-off skips, fixing the tests that had broken from UI migrations. Fixed: - Domains (9 suites): 47/49 already passed once run; fixed the 2 real failures, both migration selector drifts — "Add Assets" moved to the core-ui `asset-selection-modal` Dialog (old `form-heading` testid gone), and the tree toggle is now a `radio`, not a `button`. - DomainDataProductsWidgets: marked `test.describe.serial` (the suite is one sequential scenario: assign widgets -> add assets -> verify -> remove), and fixed the data-product asset-removal count-timing bug — wait for the asset card to render before counting, otherwise count() reads 0 and removes nothing. - GlossaryNavigation empty-state: assert the empty-glossary placeholder (message.no-glossary-term) instead of the "No Glossary Term found" row that only a non-matching status filter shows. Unskipped as-is (passed without changes): - Glossary "Request description task for Glossary Term" - EntityRenameConsolidation domain rename (x2) Left skipped (blocked on product/BE work, still documented): - DataMarketplace x3 (routes removed in open-metadata#27377) - GlossaryStatusFilterNestedTerms x5 (flat nested status-filter results not implemented; status-only queries route through directChildrenOf) - Glossary "Term should stay approved" (BE approval-workflow reverts it) BulkImport is untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * fix(e2e): repair three specs that broke against current main Domains "Create DataProducts and add remove assets": the assets empty-state CTA lost its data-testid in open-metadata#30489 — CreatePlaceholder maps the action's id onto the button's DOM id — so select it by id instead. GlossaryNavigation empty state: open-metadata#30057 replaced the ErrorPlaceHolder text ("...there are no Glossary Terms defined...") with an EmptyPlaceholder, and message.no-glossary-term is now unused. Assert the placeholder testid, matching CustomizeDetailPage.spec.ts. Glossary "Request description task for Glossary Term": restore { navigate: true } so performAdminLogin returns an authenticated page rather than taking the API-only path, and replace the one-shot textContent read with a web-first assertion — it read an empty container before the description rendered, mirroring the sibling glossary-level test. Co-Authored-By: Claude <[email protected]> * ci(playwright): track the 25m shard wrapper in the perf gate open-metadata#30689 raised the shard step's `timeout ... 21m` wrapper to 25m and the job `timeout-minutes` 30 -> 35, but left the blocking performance target at `maxExecutionSeconds <= 1260`. That opened a 21-25 minute band where a shard completes well inside its timeout and every test passes, yet evaluate_playwright_performance.py fails the run and playwright-summary reports it as a CI/reporting failure with zero test failures. Merge-queue run 30590319979 for open-metadata#30451 landed in exactly that band: all 34 shards green, slowest execution 1396s, blocked solely by this target. Move the target to 1500s so it tracks the wrapper, and rename it to match. * ci(playwright): give shards 30m and keep the gates tracking the wrapper chromium-18 was killed by the 25m timeout wrapper on merge-queue run 30603720876 (exit 124, PW_EXECUTION_SECONDS=1500): 244 tests planned, 236 finished, 8 never ran. The shard genuinely needs more than 25 minutes, so raising the gate alone is not enough — the wrapper has to move too. - shard wrapper 25m -> 30m - job timeout-minutes 35 -> 40; the killed job's wall was 28m46s against a 25m wrapper, so overhead is ~4m and 35 would leave almost none. Keeping the job clock a clear 10m above the wrapper means the wrapper always trips first, which fails the shard cleanly instead of cancelling mid-upload. - executionAtMostTwentyFiveMinutes (1500) -> executionAtMostThirtyMinutes (1800) - shardsAtMostThirtyMinutesBeforeUpload (1800) -> shardsAtMostThirtyFiveMinutesBeforeUpload (2100); elapsed runs ~200s above execution, so a 30m wrapper would otherwise breach the old 1800s cap. This does not reduce the underlying skew: the same run had 35.67% common shard skew, so one shard runs ~30m while others finish in 3m. That stays a convergence warning and wants a planner fix, not a bigger timeout. * ci(playwright): restore real weights for re-enabled specs in the timing baseline The planner weights every test from timing-baseline.json. load_history pins a recorded `skipped` entry to 0: elif test_id and test.get("outcome") == "skipped": durations[test_id].append(0) and build_playwright_shards.py reads it as test_weights.get(test_id, identity_weights.get(..., FALLBACK_TEST_MS)) so an explicit 0 wins over the 20 s fallback. Once a PR re-enables those specs the planner still costs them at zero, packs them onto one shard, and the shard overruns its wrapper with no warning: on merge-queue run 30603720876 chromium-18 was predicted at 18.8 min (predictedExecutionMs 1128075) and was killed at the 25 min wrapper with 8 of 244 tests unrun. Domains.spec.ts alone ran 1157 s there against a recorded weight of 0. Refresh the 76 entries that were recorded `skipped` with 0 ms and have real durations in the timing history of run 30590319979 (mode=full, all 34 shards green): +1500 s of weight the planner could not previously see. Entries still skipped in that run keep their zero, and the two genuinely instant `expected` 0 ms entries are left alone — they already fall through to FALLBACK_TEST_MS, and test_versioned_baseline_only_uses_zero_weight_for_skipped_ids asserts it. Replanned locally against the real `playwright test --list` for this branch: workers Domains.spec.ts spread max tests/shard chromium shards 3 2 -> 9 shards 243 -> 213 22 -> 23 4 2 -> 7 shards 343 -> 280 17 -> 17 Predicted execution stays ~18.5-18.8 min, but it is now honest: the weight the shard actually carries is visible to the planner instead of arriving as ~7.5 min of unbudgeted work at 3 workers. * Revert "ci(playwright): restore real weights for re-enabled specs in the timing baseline" Drops the timing-baseline.json change from this PR so it carries only the re-enabled specs. The zero-weight planner blind spot it addressed is real — Domains.spec.ts is recorded at 0 ms against ~1073 s of actual work, which is what let chromium-18 be planned at 18.8 min and killed by the 25 min wrapper — but it will be handled by splitting the spec instead: moving the tests to new files changes their Playwright ids (the id prefix is a per-file hash), so the stale zero-weight entries no longer match and the tests fall through to FALLBACK_TEST_MS. Note this also gives up the restored weights for the other files the baseline patch covered, ~468 s in total, notably DomainDataProductsWidgets.spec.ts (186.5 s) and EntityRenameConsolidation.spec.ts (26.6 s), both re-enabled by this PR and now back at zero. --------- Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
…removed routes), re-enable 2 that pass (open-metadata#30843) * test(glossary): drop four status-filter tests that were never implemented These four arrived skipped in open-metadata#25428 (`12d85f310f`), the same commit that created the file, and have never executed once in five months. They are not regressions and not flakes — they are a specification for behaviour the backend does not have. Each carried its own reason inline from birth: "Requires backend to return nested terms as flat results when filtered". That is accurate. The glossary term listing sends `directChildrenOf` and `entityStatus` on the same request (`glossaryAPI.ts` `getFirstLevelGlossaryTermsPaginated`), and the backend ANDs them (`GlossaryTermResource` `.addQueryParam("directChildrenOf", …).addQueryParam("entityStatus", …)`), so a nested term is eliminated by the hierarchy filter before its status is ever considered. No status value can surface a grandchild as a flat result. Confirmed by running them: on a real 1.13 stack all four fail at ~17.5s (the locator timeout — the term genuinely never renders), while every sibling test that asserts only root-level terms passes. `glossaryAPI.ts` and `GlossaryTermResource` are byte-identical across 1.13, main and 2.0, so the outcome is the same everywhere. Removed rather than left skipped: five bare `test.skip`s surface on every nightly triage list as if they were failures, and cost review attention each time someone asks why the glossary suite is red. If flat subtree filtering is built, these are better rewritten against the real API than resurrected from a five-month-old skip. No fixtures are orphaned — `basicChild`, `multiChild`, `deepTerms` and the rest are still used by the surviving tests. Prettier and eslint clean. Co-Authored-By: Claude <[email protected]> * test(e2e): re-enable four specs that pass on main today Each of these was written active and green, then skipped later when something broke. All four pass now on a real main stack built from this branch point (`revision 64df7a3`), so the markers are stale: | Test | Skipped since | Measured on main | |---|---|---| | `ActivityFeed › Mention notification shows correct user details` | open-metadata#25894 (`test.fixme`) | 9.4s | | `CustomizeWidgets › KPI Widget` | `test.fixme` | 30.3s | | `Glossary › Term should stay approved when changes made by reviewer` | BE approval workflow | 1.0m | | `GlossaryStatusFilter › change filter while expanded updates visible root terms` | open-metadata#25428 | 2.8s | `Term should stay approved` is the interesting one: its documented cause was the async approval workflow reverting a PATCHed entityStatus, and open-metadata#29931 fixed exactly that machinery (approve/reject condition scheme, duplicate edges, stuck resolves) in July. main carries open-metadata#29931; the test now passes. `change filter while expanded` never ran — it was born skipped in open-metadata#25428 claiming "re-filtering expanded state isn't fully implemented". That shipped at some point and nobody revisited the marker. It is kept rather than deleted precisely because it passes: it is the one test in that file whose skip was stale rather than blocked on the missing backend support. Stale `eslint-disable playwright/no-skipped-test` directives removed with their skips, otherwise they become unused-directive errors. Prettier clean; eslint 0 errors. Co-Authored-By: Claude <[email protected]> * Revert re-enabling KPI Widget and the ActivityFeed mention test Both pass on a main stack (30.3s and 9.4s), but they are out of scope for this PR and stay skipped. The two re-enables that remain — Term should stay approved and change filter while expanded — are unaffected. Co-Authored-By: Claude <[email protected]> * test(marketplace): drop five navigation tests whose routes were removed These five differ from the four glossary tests removed earlier in this PR: they were born **active and green** in open-metadata#26255 (`e90ab792f6`, 2026-04-06) and ran for ten days. open-metadata#27377 (`3129a14b10`) then removed the `/data-marketplace/*` sub-routes they navigate to and skipped them in the same commit, noting "re-enable when the standalone marketplace shell is reintroduced". That shell has not been reintroduced in four months, so the skips are now a permanent fixture rather than a pending re-enable. Confirmed dead by running them un-skipped: all five fail at 1.0m on both a real 1.13 stack and a real main stack — the navigation target does not exist. Scope is the five dead navigation tests, **not** the three spec files. The marketplace page is alive — 11 marketplace components ship on every branch — and the files retain 8 passing tests covering rendering, data-product and domain creation via the drawer, the search empty state, the search popover, and the admin-vs-consumer permission split. Deleting the files would have taken that with them. If the standalone marketplace shell returns, these are better rewritten against the new routes than restored from a four-month-old skip. Prettier clean; eslint 0 errors. Co-Authored-By: Claude <[email protected]> * Fix UI checkstyle: drop dead import and two stale skip comments `ui-checkstyle` failed on DataMarketplacePermissions.spec.ts. Removing the "Data consumer can search and view results" test left `searchMarketplace` imported and unused (0 references), which `organize-imports-cli` strips. CI's Playwright step is organize-imports -> eslint --fix -> prettier --write; the earlier local pass ran only eslint and prettier, and neither flags a dead import, which is why this got through locally but not in CI. Also removes two skip-reason comments left above tests re-enabled earlier in this PR, flagged in review — the source contradicted itself: - Glossary.spec.ts: "Need to fix the workflow from BE end, as it constantly failing in the AUT's" above the now-active `Term should stay approved` - GlossaryStatusFilterNestedTerms.spec.ts: "Skip: Requires re-filtering expanded state which isn't fully implemented" above the now-active `change filter while expanded` ActivityFeed.spec.ts's comment is left alone — that un-skip was reverted, so its note still matches a `test.fixme`. Verified by re-running the full CI sequence: idempotent, 0 eslint errors. Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>



Summary
/data-marketplaceinside the defaultAppContainershell (oldLeftSidebar+NavBar).NavBar.tsx's existingisDataMarketplacePagebranch renders the header transparent with a negative bottom margin, so the marketplace hero flows under it — no new CSS./data-marketplace/*sub-routes.MarketplaceLayout,MarketplaceNavBar,MarketplaceSubPageLayout, the new core-componentsSidebar, and the marketplace list/detail pages remain on disk so the standalone shell can be reintroduced later.<Avatar size="md" {...getEntityAvatarProps({ ...entity, entityType })} />, the same helper used byuseDomainCardTemplates,domainFieldRenderers, andDataProductsDetailsPage. Per-entitystyle.iconURL/style.colorcustomization and theGlobe01/Cube01fallbacks now match the old list and detail pages.Test plan
/data-marketplacerenders with the oldLeftSidebar+ transparentNavBar, showing the greeting banner, search bar, and domain + data product widgets./data-marketplace, old layout./data-marketplace/data-products,/data-marketplace/domains, and/data-marketplace/domains/:fqnfall through to 404 (routes removed)./domain/:fqnor/dataProduct/:fqn(old entity pages)./data-marketplacerender the same circular avatars as the old list/detail pages, with matching per-entitystyle.iconURL/style.colorcustomization andGlobe01/Cube01fallbacks./domainand/dataProductroutes from the old sidebar still work unchanged.🤖 Generated with Claude Code