The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-tcp-keepalive-urllib3-v2 has failed.
Run started by GitHub user anmolxlight (triggered by anmolxlight).

Head commit for run:
9b380b491fbb13eaa61cf7afd7f23b02d2adae61 / anmol mishra <[email protected]>
fix(cncf-kubernetes): use Configuration.socket_options instead of 
monkey-patching urllib3 (#68396)

The `enable_tcp_keepalive` config option in the Kubernetes provider
relied on monkey-patching urllib3's default_socket_options.
In urllib3 v2.x, the socket_options parameter in HTTPConnection.__init__
is evaluated as a default argument at import time, so post-import
changes are never picked up by new connections.

Fix by passing socket options through the Kubernetes client's
Configuration.socket_options field, which is properly threaded
through ApiClient -> RESTClientObject -> urllib3.PoolManager.

Also includes TCP_NODELAY in the socket options to preserve the
default urllib3 behavior of disabling Nagle's algorithm.

Closes: #68396

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

With regards,
GitHub Actions via GitBox


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

Reply via email to