jason810496 opened a new pull request, #75443:
URL: https://github.com/apache/airflow/pull/75443

   Final nit before the Go SDK beta release.
   
   ### A failed return-value XCom push no longer leaves the task successful
   
   `sendXcom` logged the error and returned nothing, so the task finished 
successful
   and its downstream tasks failed later with `XComNotFound`. It now returns the
   error and fails the task.
   
   A task whose function already returned an error also stops pushing its 
result:
   that result is the zero value, not one the task produced. The branch path
   already worked this way.
   
   ### The guide's labelled-edge example did not compile
   
   `Label` takes only the text, and `On` names the tasks its edges reach.
   
   ```go
   // before
   loaded.Before(airflow.Label(cleaned, "done"))
   
   // after
   loaded.Before(airflow.Label("done").On(cleaned))
   ```
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


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