-
Notifications
You must be signed in to change notification settings - Fork 180
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
Remove prefix of run and test tasks if test_behavior = TestBehavior.AFTER_EACH #524
Remove prefix of run and test tasks if test_behavior = TestBehavior.AFTER_EACH #524
Conversation
👷 Deploy Preview for amazing-pothos-a3bca0 processing.
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #524 +/- ##
==========================================
+ Coverage 91.78% 91.80% +0.01%
==========================================
Files 49 49
Lines 1911 1915 +4
==========================================
+ Hits 1754 1758 +4
Misses 157 157
☔ 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.
Thanks for pointing out the redundancy in the TaskGroup
and the inner Task
names - this looks cleaner!
I just checked how it looked in the bigger view of the DAG, and it makes more sense:
I also confirmed that things looked good in the Task Instance list view and the Airflow Grid and Task Tries tabs.
Bug fixes * Fix attempt of emitting OpenLineage events if task execution fails by @tatiana in #526 * Fix Rust dependency for Windows users by @tatiana in #526 * Fix DbtRunOperationLocalOperator missing flags by @tatiana in #529 * Fix DbtRunLocalOperator to support the full refresh argument by @tatiana in #529 * Remove redundant prefix of task names when test_behavior = TestBehavior.AFTER_EACH by @binhnq94 in #524 * Fix rendering vars in `DbtModel` when using `LoadMode.CUSTOM` by @dojinkimm in #502 Others * Docs: add `documentation comparing Airflow and dbt concepts <https://astronomer.github.io/astronomer-cosmos/getting_started/dbt-airflow-concepts.html>`_ by @tatiana in #523. * Update PyPI project links by @tatiana in #528 * pre-commit updates
Bug fixes * Fix attempt of emitting OpenLineage events if task execution fails by @tatiana in #526 * Fix Rust dependency for Windows users by @tatiana in #526 * Fix DbtRunOperationLocalOperator missing flags by @tatiana in #529 * Fix DbtRunLocalOperator to support the full refresh argument by @tatiana in #529 * Remove redundant prefix of task names when test_behavior = TestBehavior.AFTER_EACH by @binhnq94 in #524 * Fix rendering vars in `DbtModel` when using `LoadMode.CUSTOM` by @dojinkimm in #502 Others * Docs: add `documentation comparing Airflow and dbt concepts <https://astronomer.github.io/astronomer-cosmos/getting_started/dbt-airflow-concepts.html>`_ by @tatiana in #523. * Update PyPI project links by @tatiana in #528 * pre-commit updates
Bug fixes * Remove redundant prefix of task names when test_behavior = TestBehavior.AFTER_EACH by @binhnq94 in #524 * Fix rendering vars in `DbtModel` when using `LoadMode.CUSTOM` by @dojinkimm in #502 * Fix attempt of emitting OpenLineage events if task execution fails by @tatiana in #526 * Fix Rust dependency for Windows users by @tatiana in #526 * Fix DbtRunOperationLocalOperator missing flags by @tatiana in #529 * Fix DbtRunLocalOperator to support the full refresh argument by @tatiana in #529 Others * Docs: add `documentation comparing Airflow and dbt concepts <https://astronomer.github.io/astronomer-cosmos/getting_started/dbt-airflow-concepts.html>`_ by @tatiana in #523. * Update PyPI project links by @tatiana in #528 * pre-commit updates
Description
If test_behavior = TestBehavior.AFTER_EACH, DbtNode.name in task_id is not necessary because the parent task group is named as
DbtNode.name
Related Issue(s)
Slack thread
Breaking Change?
Remove prefix of run and test tasks if test_behavior = TestBehavior.AFTER_EACH.
Olds rendered tasks before this PR:
New rendered tasks:
Checklist