Skip to content

test: drop --warn-error from view lifecycle tests - #1756

Merged
sd-db merged 1 commit into
mainfrom
test/drop-view-lifecycle-warn-error
Oct 28, 2026
Merged

sd-db merged 1 commit into
mainfrom
test/drop-view-lifecycle-warn-error

Conversation

@sd-db

@sd-db sd-db commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Description

TestViewLifecycleIgnoresMaterializationFlag and TestViewLifecycleMaterializationFlagOn ran dbt --warn-error run, so any warning failed them, including warnings unrelated to the view lifecycle. On the lowest-direct dependency floor, dbt-core 1.11.2 reports view_update_via_alter as an unrecognized config key (CustomKeyInConfigDeprecation), and some auth paths emit warnings too. The --warn-error was only defense in depth, so this PR removes it. All server-state assertions (column comments and grants) stay.

This PR also moves the 1.13.0 release date in CHANGELOG.md to Oct 29, 2026.

Supersedes #1754.

Verified locally against a SQL warehouse (databricks_uc_sql_endpoint), tests/functional/adapter/views/test_views.py:

  • dbt-core 1.11.2 (lowest-direct lock): 29 passed, 7 skipped
  • dbt-core 1.12.6 (uv.lock): 29 passed, 7 skipped

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section. (test-only, no changelog entry)

This pull request and its description were written by Isaac.

The --warn-error runs failed on warnings unrelated to the view
lifecycle: dbt-core before 1.12.2 reports view_update_via_alter as an
unrecognized config key, and some auth paths emit warnings. The
server-state assertions stay. Also move the 1.13.0 release date to
Oct 29, 2026.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@sd-db
sd-db enabled auto-merge (squash) October 28, 2026 14:15
@sd-db
sd-db merged commit ca28d20 into main Oct 28, 2026
9 checks passed
@sd-db
sd-db deleted the test/drop-view-lifecycle-warn-error branch October 28, 2026 15:25
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