FrankYang0529 commented on code in PR #75190:
URL: https://github.com/apache/airflow/pull/75190#discussion_r4344153347


##########
ts-sdk/src/sdk/dag-graph.ts:
##########
@@ -149,13 +155,18 @@ export function buildDagGraph(dag: Dag): DagGraph {
     return sets;
   };
 
-  for (const { upstream, downstream } of orderEdges) {
+  for (const { upstream, downstream, label } of orderEdges) {
     const upstreamIsGroup = groups.has(upstream);
     const downstreamIsGroup = groups.has(downstream);
     if (!upstreamIsGroup && !downstreamIsGroup) continue;
 
     const from = tasksAt(upstream, "upstream");
     const to = tasksAt(downstream, "downstream");
+    if (!upstreamIsGroup && label !== undefined) {

Review Comment:
   `reported.after(Label.of("L").on(g))` now labels `g.x -> report` and `g.y -> 
report` as well as the join entry. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to