Skip to content

feat: OpenLineage lineage enhancements - full object coverage, richer UI, and API-level sync - #6719

Open
ntkathole wants to merge 3 commits into
feast-dev:masterfrom
ntkathole:lineage_enhancements
Open

feat: OpenLineage lineage enhancements - full object coverage, richer UI, and API-level sync#6719
ntkathole wants to merge 3 commits into
feast-dev:masterfrom
ntkathole:lineage_enhancements

Conversation

@ntkathole

Copy link
Copy Markdown
Member

What this PR does / why we need it:

This PR enhances the Feast OpenLineage integration to provide comprehensive, production-ready lineage tracking across all Feast objects and interaction paths.

  • Full object coverage in lineage: Extends lineage support beyond Feature Views and Feature Services to include SavedDatasets, On-Demand Feature Views, Entities, and DataSources - both in the OpenLineage graph and in Feast-only registry lineage. SavedDatasets now show connectivity to their upstream FeatureService, FeatureViews, and DataSources via storage matching.

  • Richer OpenLineage UI: Adds producer-based color coding, Feast type filtering, directional focus-on filtering (upstream + downstream without cross-branch bleed), node subtitles showing source type, detailed data source metadata in the side panel (path, table, query, timestamp fields, field mappings), and a toggle that auto-defaults to Feast-only lineage when no OL events exist yet.

  • API and registry sync: Wires OpenLineage emission and cleanup into the RegistryServer layer so that objects created, edited, or deleted via REST API / gRPC (not just feast apply) are immediately reflected in the lineage graph. Adds delete_dataset and delete_job store methods for clean removal.

Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
@ntkathole ntkathole self-assigned this Aug 10, 2026
@ntkathole
ntkathole requested a review from a team as a code owner August 10, 2026 04:41
@codecov-commenter

codecov-commenter commented Aug 10, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 33.43465% with 438 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.58%. Comparing base (e8edab5) to head (3ad7895).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
sdk/python/feast/openlineage/emitter.py 4.13% 139 Missing ⚠️
sdk/python/feast/lineage/registry_lineage.py 25.84% 57 Missing and 9 partials ⚠️
sdk/python/feast/openlineage/store.py 44.82% 43 Missing and 5 partials ⚠️
sdk/python/feast/openlineage/mappers.py 0.00% 35 Missing ⚠️
sdk/python/feast/api/registry/rest/__init__.py 2.94% 33 Missing ⚠️
sdk/python/feast/registry_server.py 50.00% 22 Missing and 4 partials ⚠️
sdk/python/feast/openlineage/consumer.py 32.25% 15 Missing and 6 partials ⚠️
sdk/python/feast/feature_store.py 13.63% 19 Missing ⚠️
sdk/python/feast/openlineage/processor.py 59.09% 13 Missing and 5 partials ⚠️
sdk/python/feast/openlineage/identity.py 82.22% 5 Missing and 3 partials ⚠️
... and 5 more
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6719      +/-   ##
==========================================
- Coverage   46.77%   46.58%   -0.19%     
==========================================
  Files         414      416       +2     
  Lines       50191    50987     +796     
  Branches     7181     7352     +171     
==========================================
+ Hits        23475    23753     +278     
- Misses      25077    25548     +471     
- Partials     1639     1686      +47     
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 47.87% <33.43%> (-0.23%) ⬇️
Files with missing lines Coverage Δ
sdk/python/feast/api/registry/rest/lineage.py 87.80% <100.00%> (+0.30%) ⬆️
sdk/python/feast/openlineage/__init__.py 100.00% <100.00%> (ø)
sdk/python/feast/openlineage/client.py 30.50% <ø> (ø)
sdk/python/feast/repo_config.py 78.72% <100.00%> (ø)
sdk/python/feast/infra/compute_engines/base.py 75.92% <33.33%> (-2.93%) ⬇️
sdk/python/feast/openlineage/facets.py 79.13% <90.00%> (+2.98%) ⬆️
sdk/python/feast/openlineage/config.py 62.85% <14.28%> (-5.40%) ⬇️
...infra/compute_engines/spark_application/compute.py 55.94% <58.82%> (-0.15%) ⬇️
...ast/infra/compute_engines/spark_application/job.py 68.88% <46.15%> (-1.25%) ⬇️
sdk/python/feast/openlineage/identity.py 82.22% <82.22%> (ø)
... and 9 more

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e8edab5...3ad7895. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ntkathole
ntkathole force-pushed the lineage_enhancements branch 2 times, most recently from ceaa23c to e0f64b8 Compare August 10, 2026 05:49
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
@ntkathole
ntkathole force-pushed the lineage_enhancements branch from e0f64b8 to 3ad7895 Compare August 10, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants