gang-zh opened a new issue, #73143: URL: https://github.com/apache/airflow/issues/73143
### Body #72164 lets the task process opt into fork+exec on Linux via `[core] execute_tasks_new_python_interpreter`, which closes the inherited-OpenSSL-lock hang in #71707 for tasks. Callbacks are still bare-forked: `CallbackSubprocess.start` passes a closure target, which `WatchedSubprocess.start` rejects under `use_exec`, so an `on_failure_callback` (or any other task callback) that makes a TLS call keeps the fork-inherited lock exposure after an operator flips the option. Proposal: give callback subprocesses a named, importable target (the way tasks use `_subprocess_main`) so the same option covers them, and drop the "callbacks keep bare fork" caveat from the config text and the #72164 newsfragment once it lands. Raised by @kaxil in https://github.com/apache/airflow/pull/72164#discussion_r3972714850. ### Are you willing to submit a PR? Yes ### Code of Conduct - [x] I agree to follow this project's Code of Conduct -- 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]
