ephraimbuddy commented on code in PR #36693:
URL: https://github.com/apache/airflow/pull/36693#discussion_r1449963601


##########
airflow/models/dag.py:
##########
@@ -1466,6 +1466,8 @@ def fetch_callback(
             # context for the callback.
             if dag.partial:
                 tis = [ti for ti in tis if not ti.state == State.NONE]
+            # filter out removed tasks
+            tis = [ti for ti in tis if ti.state != TaskInstanceState.REMOVED]

Review Comment:
   We should merge this with line 1468 above



-- 
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