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

Fix rendering detached tests in TestBehavior.NONE and AFTER_ALL #1463

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tatiana
Copy link
Collaborator

@tatiana tatiana commented Jan 14, 2025

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
@tatiana tatiana marked this pull request as ready for review January 14, 2025 10:33
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jan 14, 2025
Copy link

cloudflare-workers-and-pages bot commented Jan 14, 2025

Deploying astronomer-cosmos with  Cloudflare Pages  Cloudflare Pages

Latest commit: d6b3823
Status: ✅  Deploy successful!
Preview URL: https://9355405b.astronomer-cosmos.pages.dev
Branch Preview URL: https://issue-1444.astronomer-cosmos.pages.dev

View logs

Copy link

netlify bot commented Jan 14, 2025

Deploy Preview for sunny-pastelito-5ecb04 canceled.

Name Link
🔨 Latest commit d6b3823
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/67863e37fd224c000883a099

@dosubot dosubot bot added area:rendering Related to rendering, like Jinja, Airflow tasks, etc area:testing Related to testing, like unit tests, integration tests, etc labels Jan 14, 2025
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.94%. Comparing base (768a0b9) to head (d6b3823).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1463   +/-   ##
=======================================
  Coverage   96.94%   96.94%           
=======================================
  Files          73       73           
  Lines        4355     4359    +4     
=======================================
+ Hits         4222     4226    +4     
  Misses        133      133           

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

@tatiana tatiana mentioned this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rendering Related to rendering, like Jinja, Airflow tasks, etc area:testing Related to testing, like unit tests, integration tests, etc size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Relationship tests show up with TestBehaviour.NONE
1 participant