Repository navigation
Read current task executions by exact region and try - #74350
Merged
Merged
Conversation
ashb
added this pull request to stack #74339
October 6, 2026 15:06
1 task
kaxil
reviewed
Oct 6, 2026
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 7, 2026 13:57
ddcfe38 to
7436a05
Compare
ashb
removed this pull request from stack #74339
October 7, 2026 15:20
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 7, 2026 15:22
7436a05 to
1627be4
Compare
ashb
added this pull request to stack #74410
October 7, 2026 15:22
ashb
force-pushed
the
task-loops-stack-9
branch
2 times, most recently
from
October 7, 2026 20:57
05e212f to
d91ebda
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 8, 2026 13:56
d91ebda to
32bb9da
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 8, 2026 16:06
32bb9da to
f34b417
Compare
kaxil
approved these changes
Oct 8, 2026
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 8, 2026 20:45
f34b417 to
5e14006
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
2 times, most recently
from
October 9, 2026 14:03
83bd2e6 to
d5f852b
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 9, 2026 22:18
86f63fd to
491d84b
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 10, 2026 07:05
491d84b to
6adc196
Compare
ashb
marked this pull request as ready for review
October 10, 2026 13:54
ashb
requested review from
XD-DENG,
bbovenzi,
bolkedebruin,
bugraoz93,
choo121600,
dheerajturaga,
ephraimbuddy,
guan404ming,
henry3260,
jason810496,
pierrejeambrun,
potiuk,
rawwar,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
October 10, 2026 13:54
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 10, 2026 14:48
6adc196 to
90bb554
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 10, 2026 16:18
90bb554 to
66de4cb
Compare
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 10, 2026 17:12
66de4cb to
15a150c
Compare
A loop pass or a mapped expansion reuses a task id and map index, so reading a task instance, its XCom, logs, links, HITL detail or state by (task_id, map_index) no longer names one execution. The public readers take region_id and region_index and resolve them against the live producers. An index without a region is rejected because an index means nothing without the region it indexes. Responses return the region coordinates and a map_index derived from the pinned definition, so mapped tasks keep presenting their slot as before while a task inside a loop presents -1. Filters and sorts use the same derived value so paging and cursors agree with what the responses show. Retired attempts stay in task_instance under their own UUID, so try details, logs and external log links select one by try_number plus the same coordinates. The external log URL used to ignore the try number, which became ambiguous once several rows share a coordinate. Operator extra links read their XCom from the selected region and pinned definition, since the coordinates alone no longer say which execution produced it. The run-level execution listing returns the region ancestry beside each live task instance because its coordinates cannot be interpreted without it. The Gantt payload carries the attempt id and region coordinates so a bar identifies one attempt.
ashb
force-pushed
the
task-loops-stack-9
branch
from
October 10, 2026 18:24
15a150c to
28d3dc6
Compare
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.
A loop pass or a mapped expansion reuses a task id and map index, so reading
a task instance, its XCom, logs, links, HITL detail or state by (task_id,
map_index) no longer names one execution. The public readers take region_id and
region_index and resolve them against the live producers. An index without a
region is rejected because an index means nothing without the region it indexes.
Responses return the region coordinates and a map_index derived from the pinned
definition, so mapped tasks keep presenting their slot as before while a task
inside a loop presents -1. Filters and sorts use the same derived value so
paging and cursors agree with what the responses show.
Retired attempts stay in task_instance under their own UUID, so try details,
logs and external log links select one by try_number plus the same coordinates.
The external log URL used to ignore the try number, which became ambiguous once
several rows share a coordinate. Operator extra links read their XCom from the
selected region and pinned definition, since the coordinates alone no longer say
which execution produced it.
The run-level execution listing returns the region ancestry beside each live
task instance because its coordinates cannot be interpreted without it. The
Gantt payload carries the attempt id and region coordinates so a bar identifies
one attempt.
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.