Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully error when users set imcompatible RenderConfig.dbt_deps and operator_args install_deps #1505

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

tatiana
Copy link
Collaborator

@tatiana tatiana commented Feb 4, 2025

Customer is facing this error when RenderConfig(dbt_deps=True) and operator_args={"install_deps": False}:
Image

This issue does not happen if both of them are False.

Closes: #1458
Closes: #1457

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 4, 2025
@dosubot dosubot bot added area:rendering Related to rendering, like Jinja, Airflow tasks, etc dbt:deps Primarily related to dbt deps command or functionality labels Feb 4, 2025
Copy link

netlify bot commented Feb 4, 2025

Deploy Preview for sunny-pastelito-5ecb04 canceled.

Name Link
🔨 Latest commit 7178870
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/67a4d427266faa00082ee7a5

Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.31%. Comparing base (24108f0) to head (7178870).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1505   +/-   ##
=======================================
  Coverage   97.31%   97.31%           
=======================================
  Files          79       79           
  Lines        4616     4618    +2     
=======================================
+ Hits         4492     4494    +2     
  Misses        124      124           

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

Copy link

cloudflare-workers-and-pages bot commented Feb 6, 2025

Deploying astronomer-cosmos with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7178870
Status: ✅  Deploy successful!
Preview URL: https://e3dcb20a.astronomer-cosmos.pages.dev
Branch Preview URL: https://issue-1457.astronomer-cosmos.pages.dev

View logs

Copy link
Contributor

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the discussion together! Happy to be merged once CI passes.

@tatiana tatiana merged commit a94f901 into main Feb 6, 2025
69 checks passed
@tatiana tatiana deleted the issue-1457 branch February 6, 2025 16:09
@tatiana tatiana added this to the Cosmos 1.9.0 milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rendering Related to rendering, like Jinja, Airflow tasks, etc dbt:deps Primarily related to dbt deps command or functionality size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
2 participants