r/dataengineer • u/arthur_thomas678 • 1d ago
how do you catch stale data in places your orchestrator cant see
My current setup is Airflow into BigQuery with dbt on top and two things that leave the warehouse is a reverse ETL sync into the CRM and a small API that serves account numbers to our customer portal.
Twice this quarter every DAG was green and the data people saw was two days old. Once the CRM sync skipped quietly because a token expired, once a partition filter in a dbt model stopped picking up new rows after a timezone change. Nothing failed, so nothing alerted.
What we have now is dbt source freshness on the raw tables and on the portal API an API check in Dotcom Monitor that reads the last_updated field in the response and fails if it's older than six hours. That one has already caught another incident.
but the CRM side is still the gap. Where do you put freshness checks, in the pipeline, in the warehouse or at whatever the end user actually looks at?