rawwar commented on code in PR #58565:
URL: https://github.com/apache/airflow/pull/58565#discussion_r2550130458


##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -1075,6 +1075,13 @@ def _monitor_subprocess(self):
                     self._process_exit_monotonic
                     and time.monotonic() - self._process_exit_monotonic > 
SOCKET_CLEANUP_TIMEOUT
                 ):
+                    log.warning(
+                        "Process exited with open sockets; cleaning up after 
timeout",
+                        pid=self.pid,
+                        exit_code=self._exit_code,
+                        socket_types=[socket_type for socket_type in 
self._open_sockets.values()],

Review Comment:
   ```suggestion
                           socket_types=list(self._open_sockets.values()),
   ```



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