diff --git a/src/teamster/libraries/dbt/dagster_dbt_translator.py b/src/teamster/libraries/dbt/dagster_dbt_translator.py index 0acc26835b..138d51e3a4 100644 --- a/src/teamster/libraries/dbt/dagster_dbt_translator.py +++ b/src/teamster/libraries/dbt/dagster_dbt_translator.py @@ -40,7 +40,10 @@ def get_automation_condition( and dbt_resource_props["config"]["materialized"] == "view" and "extracts" in dbt_resource_props["fqn"] ): - return AutomationCondition.code_version_changed() + return ( + AutomationCondition.code_version_changed() + | AutomationCondition.newly_missing() + ) else: return ( AutomationCondition.eager() | AutomationCondition.code_version_changed()