Review _should_include_node
implementation, that changes test nodes tags
#1479
Labels
area:selector
Related to selector, like DAG selector, DBT selector, etc
dbt:test
Primarily related to dbt test command or functionality
Milestone
For several releases, including 1.8.x, the method
_should_include_node
changes the nodes of typeDbtResourceType.TEST
to contain the parent node labels:astronomer-cosmos/cosmos/dbt/selector.py
Lines 387 to 407 in 74c7c7d
While this was introduced in the past for some good reason - that we no longer remember - this can be very error-prone, as observed in #1466. The problem was very hard to troubleshoot, and - as the code is - we can still have other unexpected behaviours in Cosmos due to us injecting tags to nodes that didn't initially have them.
The goal of this ticket is:
The text was updated successfully, but these errors were encountered: