Skip to content

Fix dbt Fusion broken integration tests#2581

Merged
tatiana merged 5 commits into
mainfrom
fix-dbtf
Apr 21, 2026
Merged

Fix dbt Fusion broken integration tests#2581
tatiana merged 5 commits into
mainfrom
fix-dbtf

Conversation

@tatiana
Copy link
Copy Markdown
Collaborator

@tatiana tatiana commented Apr 20, 2026

Use a version range [">=1.1.1", "<1.4.0"] for dbt_utils in the jaffle_shop test project instead of pinning to 1.1.1 because dbt_utils@1.1.1 is incompatible with dbt 2.0, causing dbt Fusion integration tests to fail with dbt1080 warnings and exit code 1. The range allows dbt to resolve to 1.3.3 (which supports >=1.3.0, <3.0.0) for dbt 2.0 while still working with older dbt versions.

The pinned dbt_utils@1.1.1 is incompatible with dbt 2.0,
causing dbt Fusion integration tests to fail. Use a version
range so dbt resolves to the latest compatible release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 20, 2026 21:26
@tatiana tatiana requested review from a team, corsettigyg, dwreeves and jbandoro as code owners April 20, 2026 21:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the dbt jaffle_shop test project to allow dbt_utils to resolve to a newer compatible version when running with dbt Fusion / dbt 2.0.

Changes:

  • Replaces the pinned dbt_utils version with a constrained version range (>=1.1.1, <1.4.0) in the jaffle_shop test project.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dev/dags/dbt/jaffle_shop/packages.yml
Comment thread dev/dags/dbt/jaffle_shop/packages.yml
@tatiana tatiana changed the title Use dbt_utils version range for dbt 2.0 compatibility Use dbt_utils version range for dbt Fusion (2.0) compatibility Apr 21, 2026
Copy link
Copy Markdown
Contributor

@pankajastro pankajastro left a comment

Choose a reason for hiding this comment

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

Happy for this to be merged once CI is green.

@tatiana tatiana changed the title Use dbt_utils version range for dbt Fusion (2.0) compatibility Fix dbt Fusion broken integration tests Apr 21, 2026
@tatiana tatiana added this to the Cosmos 1.14.1 milestone Apr 21, 2026
Copilot AI review requested due to automatic review settings April 21, 2026 07:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.05%. Comparing base (49b23f9) to head (a49cf48).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2581   +/-   ##
=======================================
  Coverage   98.05%   98.05%           
=======================================
  Files         103      103           
  Lines        7601     7601           
=======================================
  Hits         7453     7453           
  Misses        148      148           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tatiana tatiana self-assigned this Apr 21, 2026
Copilot AI review requested due to automatic review settings April 21, 2026 07:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/dbt/test_graph.py
Comment thread tests/dbt/test_graph.py
@tatiana tatiana merged commit c0f8b80 into main Apr 21, 2026
128 checks passed
@tatiana tatiana deleted the fix-dbtf branch April 21, 2026 08:17
@pankajkoti pankajkoti mentioned this pull request Apr 23, 2026
tatiana pushed a commit that referenced this pull request Apr 23, 2026
Bug Fixes

* Fix ``ExecutionMode.WATCHER`` producer retry behaviour by @tatiana in
#2559
* Prevent watcher producer skip propagating to downstream tasks via
gateway task by @johnhoran and @tatiana in #2597
* Keep watcher sensor polling when producer is still running by
@pankajkoti in #2592
* Fix circular import error in Cosmos plugin discovery under Astro
Runtime by @tatiana in #2538
* Fix ``CosmosRichLogger`` crash on ``None`` log message by @tatiana in
#2540
* Enable inlets and outlets using dbt Fusion on Airflow 3 by
@ichirotakami in #2561
* Fix incorrectly skipped source downstream tasks in
``ExecutionMode.WATCHER`` by @pankajastro in #2563
* Fix duplicate logs in ``dbt build`` when source freshness is enabled
by @pankajastro in #2564
* Warn and normalize when ``source_rendering_behavior=None`` is passed
by @pankajastro in #2570
* Gracefully handle ``Variable.set()`` failures on Astro Remote
Execution by @hkc-8010 in #2573
* Skip malformed YAML selectors instead of failing entirely by
@YourRoyalLinus in #2577

Docs

* Update watcher test behavior docs for Cosmos 1.14.0 by @tatiana in
#2549
* Add redirect for moved partial-parsing docs page by @tatiana in #2550
* Document ``ExecutionMode.WATCHER`` and ``depends_on_past`` limitation
by @tatiana in #2602
* Restore memory-optimised imports docs for Cosmos < 1.14.0 by
@pankajkoti in #2604

Others

* Speed up Airflow 3.1+ integration tests by caching
InProcessExecutionAPI by @pankajkoti in #2547
* Improve stability of cache hash unit tests by @tatiana in #2539
* Fix mypy 1.20.0 type check failures by @pankajkoti in #2546
* Fix CI failures caused by docs build memory exhaustion by @pankajkoti
in #2580
* Fix dbt Fusion broken integration tests by @tatiana in #2581
* Fix flaky ``cosmos_manifest_selectors_example`` DAG in CI by
@pankajkoti in #2593
* Reduce pre-commit autoupdate frequency PRs by @tatiana in #2544
* Bump ``reviewdog/action-actionlint`` from 1.71.0 to 1.72.0 by
@dependabot in #2542
* Skip watcher gateway test on Airflow 3.0 by @tatiana in #2607

closes: astronomer/oss-integrations-private#381
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.

3 participants