This is an automated email from the ASF dual-hosted git repository.
ashb pushed a change to branch task-loops-stack-6
in repository https://gitbox.apache.org/repos/asf/airflow.git
omit d25a7c89316 Attribute log, asset-event and asset-state writes to the
task attempt
omit 8c43b9103f2 Give every mapped expansion a region and store its index
as region_index
omit 3b98054de7f Pin loop definitions and carry region coordinates through
task execution
omit c65dc018088 Resolve live producers by region and read their XCom by
attempt
omit 58c94159c13 Introduce the (internal/db level) concept of "dynamic
regions" for TIs
add c9475be20fe Apply suggestions from code review
add 02ee51876d5 fixup! Add user-facing docs for the new Task Loops feature.
add 1f373977ebb fixup! Add user-facing docs for the new Task Loops feature.
add 29a26cca544 fixup! Add user-facing docs for the new Task Loops feature.
add 09d10413297 fixup! Add user-facing docs for the new Task Loops feature.
add 1417efb6c1c Introduce the (internal/db level) concept of "dynamic
regions" for TIs
add 567890819ac fixup! Introduce the (internal/db level) concept of
"dynamic regions" for TIs
add 3147be51509 Resolve live producers by region and read their XCom by
attempt
add 2cdf74208be fixup! Resolve live producers by region and read their
XCom by attempt
add 48d3f0ee030 Pin loop definitions and carry region coordinates through
task execution
add adce91a7a9d fixup! Pin loop definitions and carry region coordinates
through task execution
add 3b2f13b8cf6 Give every mapped expansion a region and store its index
as region_index
add 91d8983277a fixup! Give every mapped expansion a region and store its
index as region_index
add 0784f7ac9f2 Attribute log, asset-event and asset-state writes to the
task attempt
add 2e69b1379a4 fixup! Attribute log, asset-event and asset-state writes
to the task attempt
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (d25a7c89316)
\
N -- N -- N refs/heads/task-loops-stack-6 (2e69b1379a4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../task-and-asset-state-store.rst | 4 +-
.../dynamic-task-mapping.rst | 2 +-
.../examples/example_task_loops.py | 110 +++++++
.../loops-and-mapped-tasks.rst | 10 +-
.../docs/authoring-and-scheduling/loops.rst | 214 ++++++-------
.../core-concepts/task-and-asset-state-store.rst | 2 +-
.../docs/core-concepts/task-state-store.rst | 2 +-
.../core_api/routes/public/event_logs.py | 6 +-
.../core_api/services/public/event_logs.py | 6 +-
.../execution_api/routes/task_instances.py | 1 -
.../api_fastapi/execution_api/routes/xcoms.py | 46 +--
.../api_fastapi/execution_api/versions/__init__.py | 4 +
.../{v2025_04_28.py => v2026_10_30_xcom_params.py} | 21 +-
.../src/airflow/cli/commands/task_command.py | 13 +-
.../0143_3_4_0_add_dynamic_region_storage.py | 22 +-
.../0146_3_4_0_add_asset_state_writer_identity.py | 4 +-
.../src/airflow/models/asset_state_store.py | 4 +-
airflow-core/src/airflow/models/dagbag.py | 21 --
airflow-core/src/airflow/models/dagrun.py | 1 +
airflow-core/src/airflow/models/dynamic_region.py | 11 +-
.../src/airflow/models/task_coordinates.py | 22 +-
.../src/airflow/models/task_state_store.py | 10 +-
airflow-core/src/airflow/models/taskinstance.py | 20 +-
.../airflow/serialization/definitions/xcom_arg.py | 2 +
.../src/airflow/utils/log/task_log_address.py | 21 +-
airflow-core/src/airflow/utils/sqlalchemy.py | 55 +++-
.../core_api/routes/public/test_event_logs.py | 11 +
.../execution_api/versions/head/test_xcoms.py | 31 +-
.../tests/unit/cli/commands/test_task_command.py | 29 ++
.../test_0143_add_dynamic_region_storage.py | 301 +++++++++++-------
.../test_0144_rename_stored_map_index.py | 341 ++++++++++++++++-----
airflow-core/tests/unit/models/test_dagrun.py | 32 ++
.../tests/unit/models/test_dynamic_region.py | 39 ++-
.../tests/unit/models/test_mappedoperator.py | 3 +-
.../tests/unit/models/test_taskinstance.py | 2 +-
airflow-core/tests/unit/models/test_xcom_arg.py | 46 +++
.../unit/ti_deps/deps/test_trigger_rule_dep.py | 17 +-
airflow-core/tests/unit/utils/test_sqlalchemy.py | 48 +++
go-sdk/airflow/spec.gen.go | 20 --
go-sdk/internal/genspec/authoring.go | 2 +
java-sdk/sdk/build.gradle.kts | 1 +
providers/common/io/docs/state_store_backend.rst | 4 +-
providers/common/io/provider.yaml | 4 +-
.../providers/common/io/get_provider_info.py | 2 +-
.../airflow/providers/openlineage/utils/utils.py | 49 +--
.../tests/unit/openlineage/utils/test_utils.py | 42 ---
.../sdk/execution_time/schema/versions/__init__.py | 4 +-
.../execution_time/schema/versions/v2026_10_30.py | 2 +-
.../src/airflow/sdk/execution_time/task_runner.py | 3 +-
.../task_sdk/execution_time/test_task_runner.py | 19 ++
ts-sdk/scripts/generate-dag-schema.mjs | 2 +
ts-sdk/src/generated/dag-schema-fields.ts | 3 -
52 files changed, 1102 insertions(+), 589 deletions(-)
create mode 100644
airflow-core/docs/authoring-and-scheduling/examples/example_task_loops.py
copy
airflow-core/src/airflow/api_fastapi/execution_api/versions/{v2025_04_28.py =>
v2026_10_30_xcom_params.py} (55%)