kaxil commented on PR #55068:
URL: https://github.com/apache/airflow/pull/55068#issuecomment-4173648709

   `defer_task()` stores `start_trigger_args.next_kwargs` directly into the 
`next_kwargs` column 
([taskinstance.py#L1646](https://github.com/apache/airflow/blob/97959da087786dabda7c49f5512b9c5f14181735/airflow-core/src/airflow/models/taskinstance.py#L1646))
 without `serde_serialize()`. Since #59711 changed this column from 
`ExtendedJSON` to plain `JSON`/`JSONB`, any non-JSON-serializable values 
(datetime, timedelta, etc.) in `next_kwargs` will fail with `TypeError` at 
flush time. The worker deferral path already serde-serializes -- this path 
should too.


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