Skip to main content

Project hooks with source freshness

Removed in dbt Core v2

This flag was removed in dbt Core v2 and in Fusion. The new behavior is always enabled. If you're upgrading, remove this flag from your dbt_project.yml.

source_freshness_run_project_hooksdbt Latestdbt Core
Introduced2024.031.8.0
Matured (default → true)2025.051.10.0
Removedv2.0
Loading table...

Project hooks (on-run-start / on-run-end) now run as part of the dbt source freshness command by default. Previously, hooks did not execute during dbt source freshness.

If you have hooks that should not run before or after dbt source freshness, add a conditional check:

dbt_project.yml
on-run-start:
- "{{ ... if flags.WHICH != 'freshness' }}"

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0