Skip to content

feat(chronon): support Feast DQM for Chronon outputs with freshness and lineage context - #7053

Open
ArjunPakhan wants to merge 2 commits into
feast-dev:masterfrom
ArjunPakhan:feat/feast-chronon-dqm
Open

ArjunPakhan wants to merge 2 commits into
feast-dev:masterfrom
ArjunPakhan:feat/feast-chronon-dqm

Conversation

@ArjunPakhan

Copy link
Copy Markdown

Summary of Changes

  1. Persistent Monitoring Storage & Hooks (ChrononOfflineStore):
    • Implemented ensure_monitoring_tables, save_monitoring_metrics, query_monitoring_metrics, clear_monitoring_baseline, and get_monitoring_max_timestamp using atomic Parquet upserts under feast_monitoring/.
    • Ensured job state survivability across restarts and retry idempotency.
  2. Online Freshness & Provenance Metadata:
    • Updated ChrononOnlineStore.online_read() to parse and extract feature timestamps (ts, timestamp, event_timestamp) for online source freshness.
    • Extended ChrononSource and ChrononOptions with output_version, pipeline_run_id, and export_timestamp_column for lineage tracking.
    • Distinctly maintained event time, feature computation time, export time, and metric computation time.
  3. REST API & UI Extensions:
    • Added GET /monitoring/date_buckets and GET /monitoring/profiles endpoints with corresponding UI hooks and table columns.
  4. Integration Test Suite:
    • Added comprehensive integration test suite (test_chronon_dqm_integration.py) covering null preservation, retry deduplication, baseline replacement, and stale output detection.

@ArjunPakhan
ArjunPakhan requested a review from a team as a code owner October 20, 2026 18:49

@shuchu shuchu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@codecov-commenter

codecov-commenter commented Nov 4, 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 23.07692% with 220 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.85%. Comparing base (e304a84) to head (3f38997).
⚠️ Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
...ne_stores/contrib/chronon_offline_store/chronon.py 13.29% 137 Missing ⚠️
sdk/python/feast/monitoring/monitoring_service.py 33.33% 46 Missing and 2 partials ⚠️
...nfra/online_stores/chronon_online_store/chronon.py 26.66% 20 Missing and 2 partials ⚠️
sdk/python/feast/api/registry/rest/monitoring.py 28.57% 10 Missing ⚠️
...es/contrib/chronon_offline_store/chronon_source.py 75.00% 3 Missing ⚠️
❗ 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    #7053      +/-   ##
==========================================
- Coverage   50.99%   50.85%   -0.15%     
==========================================
  Files         455      455              
  Lines       56994    57276     +282     
  Branches     8321     8386      +65     
==========================================
+ Hits        29063    29125      +62     
- Misses      25946    26162     +216     
- Partials     1985     1989       +4     
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 52.29% <23.07%> (-0.17%) ⬇️
Files with missing lines Coverage Δ
sdk/python/feast/monitoring/monitoring_utils.py 48.61% <ø> (ø)
...es/contrib/chronon_offline_store/chronon_source.py 91.76% <75.00%> (-2.76%) ⬇️
sdk/python/feast/api/registry/rest/monitoring.py 60.49% <28.57%> (-1.96%) ⬇️
...nfra/online_stores/chronon_online_store/chronon.py 72.97% <26.66%> (-17.39%) ⬇️
sdk/python/feast/monitoring/monitoring_service.py 33.89% <33.33%> (-0.09%) ⬇️
...ne_stores/contrib/chronon_offline_store/chronon.py 47.17% <13.29%> (-27.58%) ⬇️

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 e304a84...3f38997. 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.

@ArjunPakhan ArjunPakhan changed the title feat(chronon): support Feast DQM for Chronon outputs with freshness and lineage context (#6984) feat(chronon): support Feast DQM for Chronon outputs with freshness and lineage context Nov 4, 2026
@ArjunPakhan
ArjunPakhan force-pushed the feat/feast-chronon-dqm branch from 13ba0a2 to 9201dd7 Compare November 4, 2026 12:11
@ArjunPakhan

Copy link
Copy Markdown
Author

@shuchu Rebased on top of master and resolved all local mypy type-checking issues. Ready to roll whenever you are! 🚀

This branch has not been deployed

No deployments
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.

feat: Support Feast DQM for Chronon outputs with freshness and lineage context

3 participants