Skip to content

Propagate AssetEvent through context when Consumer DAG triggering on AssetAlias (#50182) - #55534

Merged
Lee-W merged 1 commit into
apache:v3-0-testfrom
astronomer:backport-825c322-v3-0-test
Sep 12, 2025
Merged

Lee-W merged 1 commit into
apache:v3-0-testfrom
astronomer:backport-825c322-v3-0-test

Conversation

@Lee-W

@Lee-W Lee-W commented Sep 11, 2025 •

Copy link
Copy Markdown
Member

backport #50182

  • attach asset event that is attached to an asset alias to the triggering_asset_events in context, allow downstream consumer task to access the actual asset event when triggered by the asset alias.

  • precommit fix

  • add test case

  • profile merge and unmerge query

  • merge queries into one

  • Update airflow-core/tests/unit/jobs/test_scheduler_job.py

  • Update airflow-core/tests/unit/jobs/test_scheduler_job.py


(cherry picked from commit 825c322)


^ 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 airflow-core/newsfragments.

…AssetAlias (apache#50182)

* attach asset event that is attached to an asset alias to the triggering_asset_events in context, allow downstream consumer task to access the actual asset event when triggered by the asset alias.

* precommit fix

* add test case

* profile merge and unmerge query

* merge queries into one

* Update airflow-core/tests/unit/jobs/test_scheduler_job.py

Co-authored-by: Wei Lee <[email protected]>

* Update airflow-core/tests/unit/jobs/test_scheduler_job.py

Co-authored-by: Wei Lee <[email protected]>

---------

Co-authored-by: Wei Lee <[email protected]>
(cherry picked from commit 825c322)
@Lee-W
Lee-W requested review from XD-DENG and ashb as code owners September 11, 2025 19:11
@Lee-W Lee-W changed the title Propagate AssetEvent through context when Consumer DAG triggering on … Propagate AssetEvent through context when Consumer DAG triggering on AssetAlias (#50182) Sep 11, 2025
@Lee-W
Lee-W merged commit 24722ba into apache:v3-0-test Sep 12, 2025
@Lee-W
Lee-W deleted the backport-825c322-v3-0-test branch September 12, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants