github-actions[bot] opened a new pull request, #71510: URL: https://github.com/apache/airflow/pull/71510
#63883 added a fail-closed safeguard on ``ConnectionResponse.redact_extra``: if the ``extra`` column ever slips past ``Connection._validate_extra`` (direct SQL, buggy migration, legacy data) and reaches the response serializer as a non-JSON string, the validator raises rather than returning the raw value. The path is unreachable through normal ORM access because ``Connection.get_extra`` already fails on read, so the model-level guard is defense in depth. It had no test until now — this feeds the Pydantic model directly to exercise the branch and pin the fail-closed behavior. (cherry picked from commit 9ced296e169045144e4e475fdcc39d3d87959e5a) Co-authored-by: Pierre Jeambrun <[email protected]> closes: #63160 -- 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]
