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

clean subgraph before identifying boundary in split operation #144

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

dave-connors-3
Copy link
Collaborator

@dave-connors-3 dave-connors-3 commented Aug 21, 2023

Closes #121

This PR adds a line to clean the subproject's graph of test nodes before identifying the boundary nodes.

This operation is called during the creation of a group, but not splitting a project, resulting in divergent behavior.

to test this, I added a tested leaf node to the project, and added a test case that splits that node out and makes sure it's public. I did a lazy version of checking the yml -- @nicholasyager should that be a named list?

Copy link
Collaborator

@nicholasyager nicholasyager left a comment

Choose a reason for hiding this comment

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

@dave-connors-3 This approach is both necessary and sufficient for removing tests from the boundary detection used in splitting. The test is a little lazy, but it's also effective, so I'm cool with it 👍🏻 ✅

@nicholasyager nicholasyager added the bug Something isn't working label Aug 25, 2023
@dave-connors-3 dave-connors-3 merged commit e37daec into main Aug 25, 2023
3 checks passed
@nicholasyager nicholasyager deleted the ignore-tests-from-leaf-boundary-node-calc branch September 1, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dbt-meshify split command, leaf nodes aren't made public when there are tests on the leaf nodes
2 participants