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

Refactor DependsOn and MacroDependsOn to use set #9461

Closed
wants to merge 5 commits into from

Conversation

QMalcolm
Copy link
Contributor

resolves #

Problem

Solution

Checklist

  • I have read the contributing guide and understand what's expected of me
  • 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
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
  • This PR includes type annotations for new and modified functions

…build_node_edges`

This was necessary after converting the `depends_on.nodes`, `depends_on.macros`,
`depends_on_macros`, and `depends_on_nodes` to use sets instead of lists. Doing so
unbreaks 9 of the 13 unit tests that got broken on the switch to sets
… use sets

This is just a companion commit to previous commit. It isn't strictly necessary,
and if it is considered too dangerous, it can be dropped from the PR if need be.
@QMalcolm QMalcolm added the Skip Changelog Skips GHA to check for changelog file label Jan 26, 2024
@cla-bot cla-bot bot added the cla:yes label Jan 26, 2024
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (6663846) 87.85% compared to head (0fadc4d) 73.48%.

Files Patch % Lines
core/dbt/parser/manifest.py 50.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #9461       +/-   ##
===========================================
- Coverage   87.85%   73.48%   -14.38%     
===========================================
  Files         160      160               
  Lines       21934    21928        -6     
===========================================
- Hits        19271    16113     -3158     
- Misses       2663     5815     +3152     
Flag Coverage Δ
integration 73.48% <88.88%> (-11.84%) ⬇️
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@QMalcolm QMalcolm closed this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Skip Changelog Skips GHA to check for changelog file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant