Repository navigation
Replies: 3 comments
|
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
0 replies
|
Bump, I'm curious if anyone has had a chance to look into this yet? |
0 replies
|
Bumping this again! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Apache Airflow version
2.6.1
What happened
Context
unittestframework to validate successful depth-first execution usingdag.test()TaskFlow.expand()operator over atask_groupWhat Happened
When trying to assert on failed task states of intermediate
.expand()"iterations", observing that the entire DAG fails without allowing downstream tasks for subsequent "iterations" to continue (seerun_dagmethod in toy DAG example)This works fine when running the using Backfill jobs using the deprecated
DebugExecutor(seerun_dag_deug_executormethod in toy DAG example)Potentially related to this issue ?
What you think should happen instead
Failed task "iterations" should not prevent downstream tasks from running
How to reproduce
Toy DAG
Failing Unit Tests
Explanation
1.
get_data2.
add_13.
log_transformationwhere 2 and 3 are wrapped in a
task_groupnamedprocess_dataget_dataretrieves a list of 3 iterables:1,"two", and3--> passes them toprocess_dataBehaviour
1"two"TypeErrorand skip the downstream tasklog_transformationprocess_data.add_1failure causes entire DAG to fail withExceptionrather than just the task instance for this iteration3Operating System
MacOS Ventura Version 13.4 (22F66)
Versions of Apache Airflow Providers
Deployment
Other 3rd-party Helm chart
Deployment details
Helm Chart: Community helm chart version airflow-stable/airflow 8.7.1
Airflow: apache/airflow:2.6.1-python3.10
Anything else
No response
Are you willing to submit PR?
Code of Conduct
All reactions