The GitHub Actions job "Tests ARM" on airflow.git/main has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
3c1568ae7734153691201aa9a4996a9e4793450e / Salikram Paudel 
<[email protected]>
Fix: Unclosed aiohttp ClientSession and TCPConnector in 
DatabricksRunNowOperator (deferrable=True) (#52119)

Closes: #51910

Fixes unclosed `aiohttp.ClientSession` and `TCPConnector` warnings when using 
`DatabricksRunNowOperator` with `deferrable=True` in Airflow 3.0.2 and 
Databricks Provider 7.4.0.

### Background

As described in #51910, the following errors appear during deferrable task 
execution:

```
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x...>

Unclosed connector
connector: <aiohttp.connector.TCPConnector object at 0x...>
```

These indicate improper async resource cleanup during trigger polling.

### Fix

- Ensures `aiohttp.ClientSession` and `TCPConnector` are properly closed
- Applies best practices for async resource lifecycle management in the trigger

---------

Co-authored-by: Salikram Paudel <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to