Skip to content

Conversation

@pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Jun 6, 2025

Follow up of: #51401

Bring the same change to asset aliases. When possible (we have some registered event for the asset resolution), attach the resolved asset alias to the relevant producing task.

Same as before, unresolved outlet aliases appear at the end of the dag

Screenshot 2025-06-06 at 16 28 35

Now resolved aliases appears bind to the relevant task that resolves them:

Screenshot 2025-06-06 at 16 31 19

Here both task1 and task2 resolve to the same asset, both are linked

Screenshot 2025-06-06 at 16 29 38

For task groups

Screenshot 2025-06-06 at 16 39 59
Screenshot 2025-06-06 at 16 40 13

@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.0 milestone Jun 6, 2025
@pierrejeambrun pierrejeambrun self-assigned this Jun 6, 2025
@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Jun 6, 2025
@pierrejeambrun pierrejeambrun force-pushed the structure-endpoint-task-level-resolved-aliases branch 2 times, most recently from 4250aca to 96b0c8b Compare June 6, 2025 14:25
@pierrejeambrun pierrejeambrun added the type:new-feature Changelog: New Features label Jun 6, 2025
@pierrejeambrun pierrejeambrun force-pushed the structure-endpoint-task-level-resolved-aliases branch from 96b0c8b to 8871e1a Compare June 6, 2025 14:26
Copy link
Contributor

@bugraoz93 bugraoz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Great addition, thanks Pierre!

@pierrejeambrun pierrejeambrun added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jun 10, 2025
@pierrejeambrun pierrejeambrun force-pushed the structure-endpoint-task-level-resolved-aliases branch 2 times, most recently from 036f061 to 13f0d8b Compare June 10, 2025 09:57
@pierrejeambrun pierrejeambrun force-pushed the structure-endpoint-task-level-resolved-aliases branch from 13f0d8b to e88030f Compare June 10, 2025 10:29
@pierrejeambrun pierrejeambrun merged commit acf1e77 into apache:main Jun 10, 2025
97 checks passed
@pierrejeambrun pierrejeambrun deleted the structure-endpoint-task-level-resolved-aliases branch June 10, 2025 14:34
github-actions bot pushed a commit that referenced this pull request Jun 10, 2025
* Structure endpoint task level resolved aliases

* Address PR comments
(cherry picked from commit acf1e77)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Jun 10, 2025
)

* Structure endpoint task level resolved aliases

* Address PR comments
(cherry picked from commit acf1e77)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
pierrejeambrun added a commit that referenced this pull request Jun 10, 2025
* Structure endpoint task level resolved aliases

* Address PR comments
(cherry picked from commit acf1e77)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
pierrejeambrun added a commit that referenced this pull request Jun 11, 2025
…51579)

* Structure endpoint task level resolved aliases

* Address PR comments
(cherry picked from commit acf1e77)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch type:new-feature Changelog: New Features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants