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


##########
go-sdk/internal/bundle/task.go:
##########
@@ -139,9 +155,71 @@ func (f *taskFunction) call(
                res := retValues[0].Interface()
                f.sendXcom(ctx, res, sdkClient, logger)
        }
+       if err == nil && f.findSkipped != nil {

Review Comment:
   The condition task now writes the empty list before `fn` runs. That write 
clears the list of an earlier try even when `fn` panics or its arguments fail 
to resolve. After `fn` returns, the task writes a list only when it has 
something to skip.



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