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

   Backport of #71890 to `v3-3-test` for the 3.3.2 release.
   
   Fixes `DeadlockImminentError` when a connection is resolved inside an async 
task: `_async_get_connection` now uses the connection's async `aget_uri()` when 
available (the SDK's own `Connection` gains it here), falling back to 
`sync_to_async(get_uri)` for connection-shaped objects that lack it (e.g. 
`MetastoreBackend`'s `airflow.models.Connection`).
   
   Clean cherry-pick (all 6 files auto-merged, no conflicts). Independent of 
the deferred #72127 async asset-store work — it only touches 
`_async_get_connection` and adds `aget_uri`/`aextra_dejson` to the SDK 
`Connection`. task-sdk + provider (ssh async hook) regression tests are 
included and run in this PR's CI.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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