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:
   
![Image](https://github.com/user-attachments/assets/972a0dee-a397-44c2-b5d4-ef1b94ab2d13)
   
   Task a passes through:
   
   
![Image](https://github.com/user-attachments/assets/b79f2123-4072-4af8-a1aa-4bf1a68a87fc)
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to