You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Nested task group names are not generated properly #41596
When the same task group gets called multiple times within a task group, a airflow.exceptions.DuplicateTaskIdFound is raised. See print_k_group_inner in the following example. Note that if you comment out one of the print_k_group_inner, the top-level task groups are named correctly to print_k_group and print_k_group__1.
What you think should happen instead?
There should be 4 task groups created and no errors raised.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Activity
boring-cyborg commentedon Aug 19, 2024
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
isaiahiruoha commentedon Jul 25, 2025
Update 2025, reproduced in version 2.11.0, fixed in version 3.0.0
eladkal commentedon Jul 27, 2025
So you were unable to reproduce on 3.x?
isaiahiruoha commentedon Jul 27, 2025
Correct, on version 3.x the same DAG functions correctly with the expected nested naming instead of throwing DuplicateTaskIdFound.
eladkal commentedon Jul 27, 2025
Closing as fixed