Skip to content

Fix: skip project loading for clean, destroy and janitor commands#4703

Merged
georgesittas merged 1 commit intomainfrom
jo/clean_and_destroy_dont_require_loading_the_project
Jun 10, 2025
Merged

Fix: skip project loading for clean, destroy and janitor commands#4703
georgesittas merged 1 commit intomainfrom
jo/clean_and_destroy_dont_require_loading_the_project

Conversation

@georgesittas
Copy link
Copy Markdown
Collaborator

@georgesittas georgesittas commented Jun 10, 2025

sqlmesh clean failed, while debugging a dbt project in the wild, due to a model that wasn't able to be loaded. Verified that manually running rm -r .cache and re-loading the project fixed the issue.

@georgesittas georgesittas requested a review from a team June 10, 2025 06:58
Comment thread sqlmesh/cli/main.py
@georgesittas georgesittas force-pushed the jo/clean_and_destroy_dont_require_loading_the_project branch from ba42da8 to 34a79e7 Compare June 10, 2025 07:25
@georgesittas georgesittas changed the title Fix: clean and destroy commands do not require loading the project Fix: skip project loading for clean, destroy and janitor commands Jun 10, 2025
@georgesittas georgesittas force-pushed the jo/clean_and_destroy_dont_require_loading_the_project branch from 34a79e7 to c1a52c8 Compare June 10, 2025 07:26
@georgesittas georgesittas merged commit 3d50d79 into main Jun 10, 2025
25 checks passed
@georgesittas georgesittas deleted the jo/clean_and_destroy_dont_require_loading_the_project branch June 10, 2025 08:09
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