Jorricks commented on a change in pull request #17207: URL: https://github.com/apache/airflow/pull/17207#discussion_r694266238
########## File path: airflow/executors/celery_executor.py ########## @@ -125,8 +129,10 @@ def _execute_in_fork(command_to_exec: CommandType) -> None: os._exit(ret) -def _execute_in_subprocess(command_to_exec: CommandType) -> None: +def _execute_in_subprocess(command_to_exec: CommandType, celery_task_id: Optional[str] = None) -> None: env = os.environ.copy() + if celery_task_id: + env["celery_task_id"] = celery_task_id Review comment: This should now be fixed :) -- 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