You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "krzysztofstepien-tomtom (via GitHub)" <gi...@apache.org> on 2025/07/01 10:57:08 UTC
[I] airflow 3.0.2 doesn't clear downstream tasks once previous one failed and restarted successfully [airflow]
krzysztofstepien-tomtom opened a new issue, #52640:
URL: https://github.com/apache/airflow/issues/52640
### Apache Airflow version
3.0.2
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
Once upstream tasks failed, but then after restarted passes though, state of downstream tasks remained unchanged and i need to clear every single of them manually:
Task a failed:

Task a passes through:

### What you think should happen instead?
_No response_
### How to reproduce
Exemplary code:
1. Start code
2. Comment `raise`
3. Clear task `a` instance
4.
```
from airflow.sdk import DAG, task
default_args = {"owner": "airflow", "tags": ["batch"]}
with DAG(
"tests",
schedule=None,
default_args=default_args,
params={},
render_template_as_native_obj=True,
catchup=False,
max_active_runs=1,
) as dag:
@task
def a():
print("Task A")
raise ValueError("This is a test error from the task a!")
@task
def b():
print("Task B")
a = a()
b = b()
a >> b
```
### Operating System
macOS
### Versions of Apache Airflow Providers
```
apache-airflow==3.0.2
apache-airflow-providers-fab==2.2.1
apache-airflow-providers-cncf-kubernetes==8.4.0 # https://github.com/apache/airflow/discussions/22555#discussioncomment-2463448
apache-airflow-providers-databricks==7.4.0
apache-airflow-providers-microsoft-azure==12.4.1
apache-airflow-providers-standard==1.3.0
```
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] airflow 3.0.2 doesn't clear downstream tasks once previous one failed and restarted successfully [airflow]
Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 commented on issue #52640:
URL: https://github.com/apache/airflow/issues/52640#issuecomment-3025885984
Good catch, going to close this issue!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] airflow 3.0.2 doesn't clear downstream tasks once previous one failed and restarted successfully [airflow]
Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 closed issue #52640: airflow 3.0.2 doesn't clear downstream tasks once previous one failed and restarted successfully
URL: https://github.com/apache/airflow/issues/52640
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] airflow 3.0.2 doesn't clear downstream tasks once previous one failed and restarted successfully [airflow]
Posted by "krzysztofstepien-tomtom (via GitHub)" <gi...@apache.org>.
krzysztofstepien-tomtom commented on issue #52640:
URL: https://github.com/apache/airflow/issues/52640#issuecomment-3023637605
It seems that i figured out myself. In the airflow 2, once task failed, `Clear task` button by default includes all downstream tasks

In airflow 3, `Downstream` section must be explicitly selected

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org