ashb commented on code in PR #58147:
URL: https://github.com/apache/airflow/pull/58147#discussion_r2522265183


##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -1547,16 +1586,19 @@ def start(  # type: ignore[override]
                 start_date=start_date,
                 state=TaskInstanceState.RUNNING,
             )
-            context = ti.get_template_context()
-            log = structlog.get_logger(logger_name="task")
 
-            state, msg, error = run(ti, context, log)
-            finalize(ti, state, context, log, error)
+            # Create a socketpair pre-emptively, in case the task process runs 
VirtualEnv operator or run_as_user

Review Comment:
   ```suggestion
               # Create a socketpair preemptively, in case the task process 
runs VirtualEnv operator or run_as_user
   ```



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