-
Notifications
You must be signed in to change notification settings - Fork 186
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
Conversation
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
Deploying astronomer-cosmos with
|
Latest commit: |
d6b3823
|
Status: | ✅ Deploy successful! |
Preview URL: | https://9355405b.astronomer-cosmos.pages.dev |
Branch Preview URL: | https://issue-1444.astronomer-cosmos.pages.dev |
✅ Deploy Preview for sunny-pastelito-5ecb04 canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Minor suggestion if you'd like to consider otherwise also happy with as is now.
Bug Fixes * Fix ``httpx.get`` exception handling while emitting telemetry by @tatiana in #1439 * Fix (not) rendering detached tests in ``TestBehavior.NONE`` and ``AFTER_ALL`` by @tatiana in #1463 * Fix detached test tasks names so they do not exceed 250 chars by @tatiana in #1464 Enhancement * Allow users to opt-in or out (default) of detached test nodes by @tatiana in #1470. Learn more about this [here](https://astronomer.github.io/astronomer-cosmos/configuration/testing-behavior.html). Docs * Docs: Fix broken links and rendering by @pankajastro in #1437 * Update ``operator args`` docs to include ``install_deps`` by @tatiana in #1456 * Improve Cosmos ``select`` docs to include latest graph operator support by @tatiana in #1467 Others * Upgrade GitHub action artifacts upload-artifact & download-artifact to v4 by @pankajkoti in #1445 * Enable Depandabot to scan outdated Github Actions dependencies by @tatiana in #1446 * Pre-commit hook updates in #1459, #1441 * Dependabot Github action updates in #1451, #1452, #1453, #1454, #1455
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