Repository navigation
Fixes #37678: Hierarchical lineage fixes from 2.1 release testing (backport 2.1 #37685) - #37779
Conversation
) * Fixes #37678: Hierarchical lineage fixes from 2.1 release testing Scene API: - Service Level View keeps a service whose tables only send lineage, and its edge - A pipeline or stored procedure focus is part of its own scene; pipeline tasks are fields - A query_filter that fails to parse, or that the search engine rejects on a root scene, returns 400 instead of 500 - Domain and data product roots leave out assets with no domain or data product - A combined edge's weight is the number of asset edges it stands for, and it carries no single edge's SQL or source - Domain and data product cards carry no service type Lineage map: - Picking a domain or data product in search opens its own lens - Zooming out at the minimum zoom (button, or wheel over the canvas) goes up a level; ADR 2026-10-27 semantic zoom amended (v3) - A focus taller than the canvas lands below the breadcrumb - Edge drawer lists column mappings and a combined edge's count - Hovering a node highlights only its upstream and downstream path - Empty scenes show "No lineage data available" and still open the introduction - A failed load after a scene is shown offers a reload; "not found" only on 404 - A Lineage-tab quick filter no longer reaches the map's requests - Keyboard focus ring, visual tab order, and all cards focusable up to 200 - Onboarding footer no longer clipped in longer locales - AI mode lineage settings show an error with reload when they fail to load - Leaving a lineage view resets depth to the saved settings - Copy and i18n fixes: count pill, header search name, export file name, settings buttons, singular child counts, translated Base badge and search placeholder * Lineage: open a domain as its own card; clearing the search shows the platform - A domain or data product page opens on its own lens at the Layer band, with the entity as the base card among its peers, as in 2.0, for search picks and deep links alike; the root breadcrumb still leaves it - A lone service, domain or data product card is not an empty scene - The platform search no longer keeps a chip that hid its input; its placeholder names the focus, and a clear button returns to the whole platform in the current lens - Fitting a scene honours its 100% zoom cap; React Flow fitBounds ignored it, so a lone card opened at 250% * Lineage: search what the Layer level lists; square the base container card - At the Service, Domain or Data Product level the search looks for services, domains or data products, and its placeholder says so; deeper levels keep the data asset search - A base service, domain or data product card squares its top-left corner under the Base tab, as asset cards do * Lineage: record the scene contract and Lineage page decisions; refresh impact map - ADR 2026-11-13 lineage scene edges weigh the asset edges they stand for: edge weight and combined-edge fields, domain/data product roots, query_filter 400 scope, and the 200-node virtualisation threshold - ADR 2026-11-13 Lineage page opens containers as their own card: domain and data product landing, Layer-level search scope, and clearing the search - Regenerate the Playwright impact map * Lineage: square the base container card without a legacy radius token * Lineage: keep the saved depths in the lineage store instead of reading the app store reset() read useApplicationStore.getState(), which broke every test that mocks the app store as a plain hook (PipelineDetails lineage tab). The lineage store now keeps the saved depths itself, set where the Lineage settings are applied, and reset() restores them. * Lineage: switching lens from a container opens the new lens root; asset search at the Service level - Switching lens keeps an asset in focus but not a service, domain or data product, which exist only in their own lens; the new lens opens at its root instead of focusing on a container it cannot show - Only the Domain and Data Product levels narrow the search to what they list; the Service level searches data assets again, so a table can still be found from the Lineage page * Lineage: build edge column mappings with reduce; fix import order
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟡 Medium riskChanging lineage scene filtering, edge weights, and navigation across backend and UI could return or display incomplete or misleading lineage graphs. Backports the hierarchical lineage fixes from #37685 to the 2.1 branch, covering scene API behavior, lineage map navigation, and related UI and i18n fixes. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Issue
Fixes #37678
Cherry-pick of #37685 to
2.1.What it fixes
The remaining hierarchical lineage issues found in 2.1 release testing, on the scene API (
GET /v1/lineage/scene) and the Lineage page map. Full description, decision records and screen recordings in #37685.query_filterreturns 400, the domain and data product roots leave out assets outside them, and combined-edge weights count the asset edges they represent.The automatic backport went to
2.0and was correctly declined: the scene API does not exist there.Verification on
2.1origin/2.1(60 files, no conflicts).LineageScene*Test74 passed (mvn -pl openmetadata-service test -Dtest='LineageScene*Test').On
main(#37685): Playwright lineage suites 217/217; impacted Java ITs passed; CI green.🤖 Generated with Claude Code