Skip to content

[v3-4-test] Java SDK: Add edge labels to native Dags (#74523) - #75173

Merged
vatsrahul1001 merged 2 commits into
v3-4-testfrom
backport-5a64dfc-v3-4-test
Oct 20, 2026
Merged

vatsrahul1001 merged 2 commits into
v3-4-testfrom
backport-5a64dfc-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Java SDK: Add edge labels to native Dags

Signed-off-by: PoAn Yang payang@apache.org

  • Apply edge labels in the order they were set

A task edge's own label always won over a group edge's label, and a
relabeled group edge kept its first position, so edge_info differed from
Python's, where the label set last wins. Also note that Python's Label
rewrites an edge when one end is in no task group.

  • Java SDK: Write the edge label text before the task

Signed-off-by: PoAn Yang payang@apache.org


(cherry picked from commit 5a64dfc)

Co-authored-by: PoAn Yang payang@apache.org
Signed-off-by: PoAn Yang payang@apache.org
Co-authored-by: ZHE YOU LIU zhu424.dev@gmail.com

* Java SDK: Add edge labels to native Dags

Signed-off-by: PoAn Yang <payang@apache.org>

* Apply edge labels in the order they were set

A task edge's own label always won over a group edge's label, and a
relabeled group edge kept its first position, so edge_info differed from
Python's, where the label set last wins. Also note that Python's Label
rewrites an edge when one end is in no task group.

* Java SDK: Write the edge label text before the task

Signed-off-by: PoAn Yang <payang@apache.org>

---------
(cherry picked from commit 5a64dfc)

Co-authored-by: PoAn Yang <payang@apache.org>
Signed-off-by: PoAn Yang <payang@apache.org>
Co-authored-by: ZHE YOU LIU <zhu424.dev@gmail.com>
@vatsrahul1001
vatsrahul1001 merged commit 4487ab8 into v3-4-test Oct 20, 2026
93 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-5a64dfc-v3-4-test branch October 20, 2026 07:02
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.4.1 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

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