Skip to content

TS SDK: Reject blank edge labels and label task edges into groups - #75190

Merged
jason810496 merged 2 commits into
apache:mainfrom
FrankYang0529:ts-sdk-label-syntax
Oct 22, 2026
Merged

jason810496 merged 2 commits into
apache:mainfrom
FrankYang0529:ts-sdk-label-syntax

Conversation

@FrankYang0529

Copy link
Copy Markdown
Member

Change label form from label(node, text) to Label.of(text).On(node) as Java SDK's edge labels (#74523).

  • on requires at least one task or task group at compile time.
  • on puts the same label on the edge to or from each node passed to it, as Python's load >> Label("forks") >> [report_empty, notify] does. When a labelled value is labelled again, the outer label wins.

Was generative AI tooling used to co-author this PR?
  • Yes - Claude Code

@FrankYang0529
FrankYang0529 marked this pull request as ready for review October 20, 2026 10:22
@jason810496
jason810496 self-requested a review October 21, 2026 05:49

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for filling up the gap, the PR LGTM overall.
Here're some findings by the agent review, thanks.

Comment thread ts-sdk/src/sdk/dag-graph.ts Resolved
Comment thread ts-sdk/src/coordinator/serde.ts Resolved
Comment thread ts-sdk/src/coordinator/serde.ts Resolved
Comment thread ts-sdk/src/sdk/dag.ts Resolved
Comment thread ts-sdk/src/sdk/dag.ts Resolved
Comment thread ts-sdk/src/sdk/dag-graph.ts Resolved
Signed-off-by: PoAn Yang <payang@apache.org>
Signed-off-by: PoAn Yang <payang@apache.org>
@jason810496 jason810496 added the backport-to-v3-4-test Backport to v3-4-test label Oct 22, 2026
@jason810496 jason810496 added this to the Airflow 3.4.0 milestone Oct 22, 2026

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the update.

@jason810496
jason810496 merged commit c558f4a into apache:main Oct 22, 2026
79 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-4-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
✅ v3-4-test PR Link

@FrankYang0529
FrankYang0529 deleted the ts-sdk-label-syntax branch October 22, 2026 08:39
vatsrahul1001 pushed a commit that referenced this pull request Oct 22, 2026
…o groups (#75190) (#75385)

* TS SDK: Reject blank edge labels and label task edges into groups



* Address review comments on edge labels



---------
(cherry picked from commit c558f4a)

Signed-off-by: PoAn Yang <payang@apache.org>
Co-authored-by: PoAn Yang <payang@apache.org>
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.

2 participants