github-actions[bot] opened a new pull request, #74980:
URL: https://github.com/apache/airflow/pull/74980

   ensure_secrets_backend_loaded() imported task_runner to check whether
   SUPERVISOR_COMMS was set. Outside a task, that loaded the task runtime
   just to learn the answer was no. Read the module from sys.modules
   instead, as mask_secret already does.
   
   That import also loaded the task runner in the supervisor before it
   forked the task process, and before callback processes when remote
   logging has a connection, so those children inherited it. Import it
   explicitly before a bare fork of a task or callback process instead, so
   each child does not import it again. If the import fails there, the
   child imports it again and reports the error in its own log, as before.
   (cherry picked from commit f46a370a95bcc2be98532fd820c0b4ca8943b336)
   
   Co-authored-by: Kaxil Naik <[email protected]>


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