phanikumv commented on code in PR #76539:
URL: https://github.com/apache/airflow/pull/76539#discussion_r4611170352


##########
ts-sdk/tests/coordinator/serde.test.ts:
##########
@@ -50,7 +50,10 @@ function place(
   upstream: readonly TaskRef[] = [],
   spec?: TaskSpec,
 ) {
-  const factory = scope.task(taskId, async (_args: WiredArgs) => undefined, 
spec);
+  const handler = async (_args: WiredArgs) => undefined;
+  // A group's task() returns a factory of loop task references, so each side 
is called apart.

Review Comment:
   this comment is no longer true. Both task() methods return TaskFactory 
again, so that ternary, and the same split in serialize_typescript.ts, can go 
back to one scope.task(...) call



-- 
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