jscheffl opened a new pull request, #38788: URL: https://github.com/apache/airflow/pull/38788
This PR fixes the calculation of the scheduling decision if before a teardown an individual task is reset but the direct upstream of the teardown are completed. As reported in #29332 in such case as direct upstream dependencies of teardown tasks were completed, teardown was starting too early. With this fix teardown scheduling evaluates all upstream dependencies if any upstream is not completed. How to test? - Use the DAG in the comments of the bug report #29332 and deploy this - Run this DAG (at least once) till success - Clear the first normal task w/o clearing downstream - See that teardown is scheduled only if the cleared task is completed (before this PR it is immediately scheduled after setup was completed in parallel to the actual cleared task closes: #29332 -- 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]
