Repository navigation
Fixes 37196: Map dbt warning results to Failed - #37198
Conversation
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Code Review ✅ Approved🟡 Medium risk · Mapping dbt warnings to Failed makes new warning results count as failures and could trigger unintended failure alerts or misstate test health. Maps dbt VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Describe your changes:
Fixes #37196
Ingest dbt
warnresults asFailedinstead ofAbortedfor data tests and source freshness. Keep the result value0and preserve dbt messages/freshness details. Runtime errors remainAborted.This is the interim mapping requested in #37196; it does not implement or close the dedicated Warning-status proposals #26538 and #35431. Newly ingested warnings count as failures and can trigger failure alerts. Historical results are not bulk-rewritten.
Type of change:
High-level design:
Use the existing shared status mapper by adding
warnto its failure enum. Record the temporary mapping and alerting consequences indocs/decisions/2026-11-05-dbt-warnings-map-to-failed.md.Tests:
Use cases covered
Unit tests
ingestion/tests/unit/test_dbt.py; all three new status assertions failed before the change.make unit_ingestion ARGS='-n 0 tests/unit/test_dbt.py tests/unit/test_dbt_test_definition.py tests/unit/test_dbt_test_descriptions.py tests/unit/entity_resolution/test_resolver.py': 373 passed.dbt/metadata.py: 76.4% line coverage (broader pre-existing connector code).make py_format_check: passed; 3,175 files formatted.make static-checks: passed, 0 errors (130 existing warnings).uv lock --check --project ingestion: passed.Backend integration tests
Not applicable — no Java/API/schema changes.
Ingestion integration tests
No existing integration tests import the changed modules. The changed behavior is pure artifact-to-result conversion exercised through the result builders and API-boundary captures in the unit suite. No live-server warning scenario was run.
Playwright (UI) tests
Not applicable — no UI changes.
Manual testing performed
No UI/manual test. Automated regression tests verify emitted result status, value, and diagnostic details.
UI screen recording:
Not applicable — ingestion-only bug fix.
Checklist:
3872389cb9a3f639554e6e2123e298065afbbc86; no actionable findings.