The GitHub Actions job "Tests AMD" on airflow.git/changes-3.1.1rc2- has 
succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
f969e6374daa8469938169be16a28f7c073a5ce9 / Kaxil Naik <[email protected]>
Fix connection access in triggerer for deferrable operators (#57154)

When deferrable operators run in the triggerer's async event loop and
synchronously access connections (e.g., via @cached_property), the
`ExecutionAPISecretsBackend` failed silently. This occurred because
`SUPERVISOR_COMMS.send()` uses `async_to_sync`, which raises `RuntimeError`
when called within an existing event loop in a greenback portal context.

Add specific RuntimeError handling in `ExecutionAPISecretsBackend` that
detects this scenario and uses `greenback.await_()` to call the async
versions (aget_connection/aget_variable) as a fallback.

It was originally fixed in https://github.com/apache/airflow/pull/55799 for 
3.1.0
but https://github.com/apache/airflow/pull/56602 introduced a bug.

Ideally all providers handle this better and have better written Triggers. 
Example
PR for Databricks: https://github.com/apache/airflow/pull/55568

Fixes https://github.com/apache/airflow/issues/57145

(cherry picked from commit da32b682d1b0df5d5e2078392cf8626f8fdb00ff)

Report URL: https://github.com/apache/airflow/actions/runs/18776025014

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to