Repository navigation
Fixes 35881: tag Hex table-to-dashboard lineage as DashboardLineage - #35882
Conversation
Hex built its own AddLineageRequest without lineageDetails, so its edges carried no source and were indistinguishable from manual lineage. Route it through DashboardServiceSource._get_add_lineage_request like the other dashboard connectors.
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
…ight The helper returns Either | None; yielding it directly from an Iterable[Either[AddLineageRequest]] generator fails static checks.
🚦 Removed from the merge queue —
|
Code Review ✅ Approved🟡 Medium risk · Routing Hex lineage through the shared helper changes stored edge metadata; incorrect source or FQN values could misclassify lineage in catalog views. Routes Hex table-to-dashboard lineage through the shared 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 |
|
|
🤖 Backport to |
|
🤖 Nothing to backport to |



Describe your changes:
Fixes #35881
The Hex connector built its table → dashboard
AddLineageRequestby hand with nolineageDetails. Because of that, the server stored every Hex edge with the defaultsource=Manual. This PR routes Hex through the sharedDashboardServiceSource._get_add_lineage_requesthelper, so Hex edges now carrysource=DashboardLineageand both entity FQNs, like the other dashboard connectors. Re-ingesting relabels existing Hex edges, so no migration is needed.Type of change:
High-level design:
N/A: small change.
Tests:
Use cases covered
lineageDetails.source = DashboardLineage.Unit tests
ingestion/tests/unit/topology/dashboard/test_hex.py::test_yield_dashboard_lineage_detailsto assert the lineage source. The assertion fails on the old code, wherelineageDetailsisNone.PYTHONPATH=src python -m pytest tests/unit/topology/dashboard/test_hex.py tests/unit/topology/dashboard/test_hex_ingestion_flow.py --cov=metadata.ingestion.source.dashboard.hex: 34 passed, 86% line coverage onhex/metadata.py.Backend integration tests
Ingestion integration tests
ingestion/tests/integration/, and no integration test imports the changed module.Playwright (UI) tests
Manual testing performed
None against a live Hex workspace. Covered by the unit tests above.
UI screen recording:
Not applicable: ingestion-only bug fix.
Checklist:
I have read the CONTRIBUTING document.
My PR title is
Fixes <issue-number>: <short explanation>My PR is linked to a GitHub issue via
Fixes #<issue-number>above.I have commented on my code, particularly in hard-to-understand areas.
For JSON Schema changes: N/A, no schema changes.
For a UI feature or feature task: N/A, no UI changes.
I have added tests (unit / integration / Playwright as applicable) and listed them above.
Self-review: I reviewed the final diff against
REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.3c4db6a: no 🔴 findings. One 🟡 found an existing bug outside this PR: QuickSight's S3 container → data model edge also omitslineageDetails. Left for a follow-up.Decision check: N/A, a self-evident bug fix.
I have added a test that covers the exact scenario we are fixing.
🤖 Generated with Claude Code


Confidence Score: 5/5
The latest change appears safe to merge; no new actionable issues were found.Summary
Hex now uses
_get_add_lineage_requestto includeDashboardLineageand both entity FQNs.Reviews (2) · Last reviewed commit: "fix(hex): skip None from _get_add_lineag..." · Reviewed by Greptile