Skip to content

Conversation

@noel
Copy link
Contributor

@noel noel commented Dec 16, 2025

Testing PR #258 from fork with repo secrets

When checking for orphaned relations to drop, include ephemeral models so potential existing objects are dropped. The edge case is when a model was previously materialized as a table or view and then later changed to ephemeral, the old object never gets cleaned up and remains in the state it was last updated.
@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2025

🧪 dbt Workflow Status

  • Branch Validation: success
  • dbt Validations: success

All dbt validations passed

@noel noel changed the base branch from main to release/20251216 December 16, 2025 19:27
@noel noel merged commit 290560f into release/20251216 Dec 16, 2025
4 checks passed
@noel noel deleted the feature/skip-ephimeral-on-drop-orphaned-relations branch December 16, 2025 23:04
noel added a commit that referenced this pull request Dec 17, 2025
* Include ephemeral models when dropping orphaned relations

When checking for orphaned relations to drop, include ephemeral models so potential existing objects are dropped. The edge case is when a model was previously materialized as a table or view and then later changed to ephemeral, the old object never gets cleaned up and remains in the state it was last updated.

* Retrigger CI

---------

Authored-by: Eugene Kim
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.

3 participants