-
Notifications
You must be signed in to change notification settings - Fork 194
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
[Bug] Relationship tests show up with TestBehaviour.NONE #1444
Comments
Hey @roydobbe! I'm here to help you with your Cosmos issue. Let's squash this bug together! 🤖 The issue you're experiencing, where relationship tests appear in the TaskGroup despite setting This could be due to a bug or oversight in the codebase that doesn't properly respect the Since you're willing to submit a PR, you might want to investigate the part of the code that handles the inclusion of tests in the TaskGroup. Checking how the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Thank you for reporting this issue, @roydobbe. Could you confirm if this issue started occurring after upgrading to the latest version |
Hi @pankajkoti, We came from 1.5.1, upgraded because I was waiting on the callback adjustment 1.8 brought. |
@roydobbe Could you please try 1.8.0 instead of 1.8.1 and see if the issue does not occur for 1.8.0? |
@pankajkoti Just did, the issue does not occur on 1.8.0 |
As part of #1433 (Cosmos 1.8.1), we introduced a bug: detached test nodes were being incorrectly displayed when using: - `TestBehavior.NONE` (when no tests should be run) - `TestBehavior.AFTER_ALL` (when all tests should be run by the end of the DAG, regardless of their type) This PR solves this issue. Closes: #1444
As part of #1433 (Cosmos 1.8.1), we introduced a bug: detached test nodes were being incorrectly displayed when using: - `TestBehavior.NONE` (when no tests should be run) - `TestBehavior.AFTER_ALL` (when all tests should be run by the end of the DAG, regardless of their type) This PR solves this issue. Closes: #1444
Astronomer Cosmos Version
1.8.1
dbt-core version
1.8.1
Versions of dbt adapters
dbt-synapse 1.8.1
LoadMode
DBT_LS_MANIFEST
ExecutionMode
VIRTUALENV
InvocationMode
SUBPROCESS
airflow version
2.10.4
Operating System
If a you think it's an UI issue, what browsers are you seeing the problem on?
No response
Deployment
Astronomer
Deployment details
No response
What happened?
After upgrading to Cosmos 1.8.1, relationship tests show up in our TaskGroup even when we set TestBehaviour to NONE
These tasks dont' seem to do anything according to the logs
Example:
tests are set up as followed:
Relevant log output
How to reproduce
Create a task group using a dbt run command for a tag. Set the testbehaviour to TestBehaviour.NONE
Anything else :)?
No response
Are you willing to submit PR?
Contact Details
No response
The text was updated successfully, but these errors were encountered: