Repository navigation
Consider mapped upstream in TriggerRuleDep - #22583
Conversation
28ec197 to
85ab997
Compare
There was a problem hiding this comment.
Somewhat surprising we didn’t catch this earlier!
85ab997 to
318367f
Compare
There was a problem hiding this comment.
this reminds me... thinking about custom xcom backends ... there should be a probably be a "clear data" hook that can be implemented in an xcom backend to purge the external data without having to override this method... of course that's another PR
There was a problem hiding this comment.
Is XCom.clear() not enough?
10d712a to
2b4d9a2
Compare
2b4d9a2 to
6a9f8bd
Compare
|
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
This is needed to ensure all mapped upstream task instances are depended on by a downstream, instead of just one of them signifying the entire task as "done".
We catually missed quite several things for this to happen! Most namely the pre-execution XCom clearing behavior; that's surprising. But things should work now.
6a9f8bd to
5a62d56
Compare
This is needed to ensure all mapped upstream task instances are depended on by a downstream, instead of just one of them signifying the entire task as "done".
Does not work yet. This depends on correct task-unmapping behaviour implemented in #22396. I also want to add some more asserts to make sure the downstream can pull all the values from the mapped upstream, but that depends on #22609.Ready!