Skip to content

Fix: Embedded Model Type Should Not Accept Any Audit#5577

Merged
georgesittas merged 5 commits intoSQLMesh:mainfrom
bearInTheRoad:embedded-model-no-audit
Dec 3, 2025
Merged

Fix: Embedded Model Type Should Not Accept Any Audit#5577
georgesittas merged 5 commits intoSQLMesh:mainfrom
bearInTheRoad:embedded-model-no-audit

Conversation

@bearInTheRoad
Copy link
Contributor

This is to fix #5546. After the fix, EMBEDDED model will reject any audit in model definition.

@CLAassistant
Copy link

CLAassistant commented Nov 4, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@izeigerman izeigerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@izeigerman
Copy link
Contributor

@bearInTheRoad can you please remove the test from here https://github.com/TobikoData/sqlmesh/blob/main/examples/sushi_dbt/models/schema.yml#L45-L46 so that the migration_test passes

@bearInTheRoad
Copy link
Contributor Author

@bearInTheRoad can you please remove the test from here https://github.com/TobikoData/sqlmesh/blob/main/examples/sushi_dbt/models/schema.yml#L45-L46 so that the migration_test passes

Hey @izeigerman, I've removed this test in my branch but seems like migration_test fails because it's using code from the old tag.

Should I update dbt/basemodel.py and skip ephemeral models for backward compatible purpose? Or do you prefer we stay this way and merge?

@georgesittas georgesittas merged commit aff61ae into SQLMesh:main Dec 3, 2025
30 of 32 checks passed
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.

Audits on kind EMBEDDED models fail with NotFound error during sqlmesh plan

4 participants