marcusianlevine commented on a change in pull request #15308:
URL: https://github.com/apache/airflow/pull/15308#discussion_r616027987



##########
File path: airflow/models/dag.py
##########
@@ -1504,6 +1504,8 @@ def filter_task_group(group, parent_group):
                 if isinstance(child, BaseOperator):
                     if child.task_id in dag.task_dict:
                         copied.children[child.task_id] = 
dag.task_dict[child.task_id]
+                    else:
+                        copied.used_group_ids.discard(child.task_id)

Review comment:
       I added another assert to an existing test of the `sub_dag` function, 
but the quarantined tests are failing (not sure if that's a problem)




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

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


Reply via email to