Sriniketh24 commented on PR #67141:
URL: https://github.com/apache/airflow/pull/67141#issuecomment-4551017446

   Closing this in favour of #66565 which was merged 2026-05-08 and addresses 
the same issue at the root cause level.
   
   #66565 moved `self.serializer = _LazySafeSerializer()` from 
`SessionExemptMixin.__init__` into `AirflowDatabaseSessionInterface.__init__` 
only, so `AirflowSecureCookieSessionInterface` now uses Flask's default 
string-based serializer and the bytes-vs-str mismatch never occurs. That is a 
cleaner fix than the bytes-to-str coercion in `save_session()` that this PR 
applied.
   
   Thanks @potiuk for the review and @ashwani4588 for pointing out the existing 
fix.


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