ashb commented on code in PR #45124: URL: https://github.com/apache/airflow/pull/45124#discussion_r1894478809
########## task_sdk/src/airflow/sdk/execution_time/task_runner.py: ########## @@ -214,9 +214,14 @@ def startup() -> tuple[RuntimeTaskInstance, Logger]: msg = SUPERVISOR_COMMS.get_message() if isinstance(msg, StartupDetails): - from setproctitle import setproctitle - - setproctitle(f"airflow worker -- {msg.ti.id}") + # setproctitle causes issue on Mac OS: https://github.com/benoitc/gunicorn/issues/3021 + os_type = sys.platform + if os_type == "darwin": + log.info("Mac OS detected, skipping setproctitle") Review Comment: ```suggestion log.debug("Mac OS detected, skipping setproctitle") ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org