The TI doesn't wait setup tasks when they are not a direct upstream #33561
Labels
AIP-52
Automatic setup and teardown tasks
area:core
kind:bug
This is a clearly a bug
Stale Bug Report
Apache Airflow version
2.7.0
What happened
When we add a setup task (let's call it S) before a sequence of tasks, and we clear the state of a not direct downstream task for the setup task (let's call it T), the state of S is correctly cleared, but the task T doesn't wait for S, they are running in parallel.
What you think should happen instead
The setup task should be treated as an upstream for all the downstream tasks
How to reproduce
Create a run and wait all the tasks to finish, then clear the state of t2, the setup task and t2 states will be cleared, and both tasks will run in parallel.
Operating System
Debian GNU/Linux
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: