Add map_index_template support for mapped task group (#40799)#61975
Open
anishgirianish wants to merge 2 commits intoapache:mainfrom
Open
Add map_index_template support for mapped task group (#40799)#61975anishgirianish wants to merge 2 commits intoapache:mainfrom
anishgirianish wants to merge 2 commits intoapache:mainfrom
Conversation
2 tasks
Dev-iL
reviewed
Feb 16, 2026
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py
Show resolved
Hide resolved
Dev-iL
reviewed
Feb 16, 2026
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py
Show resolved
Hide resolved
Dev-iL
reviewed
Feb 16, 2026
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py
Show resolved
Hide resolved
Dev-iL
reviewed
Feb 16, 2026
Dev-iL
approved these changes
Feb 16, 2026
Collaborator
Dev-iL
left a comment
There was a problem hiding this comment.
Looks good overall! Could benefit from some (docstring-level) clarifications.
Dev-iL
reviewed
Feb 16, 2026
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py
Show resolved
Hide resolved
d9355cb to
048094d
Compare
Contributor
Author
|
Thank you so much for the thorough review, @Dev-iL. I've addressed all the feedback, applied your match/case refactor, simplified the schema, added the iteration order comment, and added debug logging. Would really appreciate a re-review when you get a chance! |
315cfe9 to
1274622
Compare
7adddf2 to
74f30af
Compare
74f30af to
d17e67c
Compare
d17e67c to
6c637be
Compare
Member
|
How is this different from setting the template on the tasks instead? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was generative AI tooling used to co-author this PR?
Summary
This adds
map_index_templatesupport to@task_group, so all child tasks in a mapped task group show meaningful labels instead of numeric indexes.Testing
closes #40799.
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.