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

   Since kubernetes client 37, the generated models are Pydantic models. The 
Task SDK serde therefore sent V1Pod and V1ResourceRequirements to the generic 
Pydantic serializer instead of the registered kubernetes serializer. That 
stored them as snake_case keys with every unset field set to None, instead of 
the Kubernetes API format previously written to XComs. That format change 
breaks consumers that expect the API format and bloats stored payloads.
   
   The read test pins the stored format against the deserializer. It also 
passes without this change, but it guards the now asymmetric path: writing goes 
through the kubernetes serializer, while reading relies on Pydantic validation 
accepting camelCase aliases.


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