-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Remove dbt-postgres and dbt-tests-adapter from dbt-core #9492
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9492 +/- ##
==========================================
- Coverage 88.04% 87.85% -0.20%
==========================================
Files 167 167
Lines 22126 22150 +24
==========================================
- Hits 19480 19459 -21
- Misses 2646 2691 +45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested if the release will work without any changes?
@@ -1,4 +1,5 @@ | |||
git+https://github.com/dbt-labs/dbt-adapters.git@main | |||
git+https://github.com/dbt-labs/dbt-postgres.git@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the postgres repo going to have the ability to run tests off branches of core?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed it will
In theory, the For example, test_dbt_show tests adapter-specific functionality, but I don't see another test in tests/functional that includes the We can't really know the full extent of this without auditing all the tests but we'll definitely lose test coverage by removing them outright at this point, so I agree with the decision to keep them + move to tests/functional. My main concern is that these will drift from their source definitions in dbt-adapters/dbt-postgres over time as new tests are defined in those directories. Longer term, we should explore options for running the postgres tests on commit / before merge without having to actually define them in dbt-core. |
@emmyoop testing here: https://github.com/dbt-labs/dbt-core/actions/runs/7759825156/job/21164841687 |
Added a follow-on tech debt issue for dbt-core to delete the adapter tests entirely, and instead trigger dbt-postgres adapter tests to run: #9513 |
Remove dbt-tests-adapter and dbt-postgres from dbt-core but preserve the adapter one tests in the functional directory to make sure we don't lose any test coverage.
resolves #
Problem
Solution
Checklist