Replies: 1 comment
|
Not a maintainer, so the roadmap half of your question 2 is theirs to answer, but the behavioral half turned out to be empirically checkable, and the result changes the picture: the tolerance you want already exists in 1.12.0rc2. I reproduced your setup and ran the candidate patterns against released dbt-core rather than reasoning about them; matrix below. Setup: a minimal project with your exact block,
Three findings worth more than the pass/fail column:
So the pattern I would run with, in order:
Your fallback of deleting the two entries until Fusion is the only runtime remains fine too; it is just no longer necessary, since on 1.12.0rc2 the file you already have passes as-is. |
Uh oh!
There was an error while loading. Please reload this page.
Hi maintainers — this is more of a question about the recommended migration pattern than a bug report, hence Q&A rather than an issue. Happy to move it if there's a better venue.
Situation
We're mid-way through migrating a dbt project to the dbt Fusion engine. To prepare, we've added Fusion-specific names to
warn_error_options.silenceindbt_project.yml:Both names are defined in the Fusion Rust codebase (
crates/dbt-error/src/codes.rs) but not in the Python dbt-core event catalog (core/dbt/events/types.py), in any released version (1.11.11, 1.11.12, or 1.12.0rc2). This is expected — the two engines have independent error taxonomies.The problem is that our pre-commit setup still runs the Python engine, and
WarnErrorOptionsV2._validate_itemsindbt_common.helper_typesrejects any name that isn't inALL_EVENT_NAMES:The failure happens at flag-parsing time in
dbt/cli/requires.py, so every dbt command in the Python env fails —dbt clean,dbt deps,dbt compile,dbt test, etc. Our.pre-commit-config.yamlpinsdbt-core==1.11.11for thedbt-checkpointhooks (dbt-clean,dbt-deps,dbt-compile,dbt-run,dbt-test,dbt-docs-generate), plussqlfluff-templater-dbtanddbt-osmosisall import Python dbt-core — none of these hook ecosystems have Fusion-native releases yet that we're aware of.What we found in existing threads
1.12.latest. It was closed by its author on 2026-06-30 without maintainer discussion visible on the PR.ConstraintNotEnforcedorConstraintNotSupported#15517 is the mirror problem on the Fusion side: Fusion-known names likeConstraintNotEnforced/ConstraintNotSupportedcan't be silenced under Fusion. Still open, labelledtriage / bug.ColumnTypeMismatch/ValidateMacroArgsin the repo).Questions
warn_error_optionsin a singledbt_project.ymlduring migration? Options we've considered:dbt_project.ymland passing them via--warn-error-options '{"silence": [...]}'only in the Fusion CLI invocationsdbt_project.ymlfiles (undesirable)Not blocking — we can just remove the two entries until Fusion is our runtime everywhere — but wanted to check whether we're missing a supported pattern before doing so. Thanks!
Environment
All reactions