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: fa68e17e6d3c1577e1ffdb2a302c6b7f384c3a3f / 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. For the KubernetesHook case, keepalive is applied in _TimeoutK8sApiClient.__init__ AFTER config loading so the configuration already has the correct host/credentials. Closes: #68396 Report URL: https://github.com/apache/airflow/actions/runs/27572912324 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
