Skip to content

Fix: Automatically repair dbt test circular references by moving upstream test to downstream model#5253

Merged
crericha merged 1 commit intomainfrom
fix-dbt-circular-tests
Aug 29, 2025
Merged

Fix: Automatically repair dbt test circular references by moving upstream test to downstream model#5253
crericha merged 1 commit intomainfrom
fix-dbt-circular-tests

Conversation

@crericha
Copy link
Contributor

Currently we raise an exception when a circular test reference is discovered. Our exception suggests moving the circular reference test in the upstream model to the downstream model. This PR takes it a step further and automatically does that for you.

@crericha crericha force-pushed the fix-dbt-circular-tests branch from 8d78161 to cde4ef7 Compare August 28, 2025 19:22
@crericha crericha requested a review from a team August 28, 2025 19:23
@crericha crericha merged commit 84b3901 into main Aug 29, 2025
36 checks passed
@crericha crericha deleted the fix-dbt-circular-tests branch August 29, 2025 03:15
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.

2 participants