Skip to content

Add the missing map_index to the xcom key when skipping downstream tasks#31541

Merged
hussein-awala merged 4 commits into
apache:mainfrom
hussein-awala:fix/skipmixin_xcom
May 30, 2023
Merged

Add the missing map_index to the xcom key when skipping downstream tasks#31541
hussein-awala merged 4 commits into
apache:mainfrom
hussein-awala:fix/skipmixin_xcom

Conversation

@hussein-awala

Copy link
Copy Markdown
Member

closes: #31526

Add the ti map_index to the xcom key, when push skipmixin_key xcom which contains the list of skipped tasks ids.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@hussein-awala hussein-awala added this to the Airflow 2.6.2 milestone May 25, 2023
@hussein-awala hussein-awala added the type:bug-fix Changelog: Bug Fixes label May 25, 2023
Comment thread tests/operators/test_subdag_operator.py Outdated
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
@hussein-awala hussein-awala merged commit e2da315 into apache:main May 30, 2023
eladkal pushed a commit that referenced this pull request Jun 8, 2023
…tasks (#31541)

* Add the missing map_index to the xcom key when skiping downstream tasks

* fix subdag operator tests

* Update tests/operators/test_subdag_operator.py

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>

---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit e2da315)
eladkal pushed a commit that referenced this pull request Jun 9, 2023
…tasks (#31541)

* Add the missing map_index to the xcom key when skiping downstream tasks

* fix subdag operator tests

* Update tests/operators/test_subdag_operator.py

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>

---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
(cherry picked from commit e2da315)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Short circuit task in expanded task group fails when it returns false

2 participants