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

   ## Why
   
   Turning on human approval changed a task's result: a task declared to return 
a number or list came back as a plain string after the reviewer approved it.
   
   ## How
   
   - Encode non-string outputs as JSON when deferring for review, instead of 
Python's str()
   - Validate the approved (possibly reviewer-edited) string back into the 
declared output_type
   - Fall back to the raw string when the edited output no longer matches the 
type
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Fable 5)


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