Agustin Bergoglio
04/16/2025, 4:57 PMAgustin Bergoglio
04/16/2025, 6:18 PMNoya Offer
04/17/2025, 2:50 PMerror, then yes — when you run dbt build, dbt will skip building downstream models that depend on the source whose freshness test failed.
This works because Elementary freshness tests are compiled as regular dbt test nodes. So when a test with severity: error fails, it causes the upstream node to fail, and dbt build will not proceed with downstream dependencies — which sounds like exactly what you're aiming for.