andreahlert commented on PR #61630: URL: https://github.com/apache/airflow/pull/61630#issuecomment-4045529477
Thanks for the detailed review, Tatiana. I'll update this PR to "Related to" instead of "Fixes" and adjust the title accordingly. For the actual fix, I'll open a separate PR implementing the lazy-init approach via `__getattr__` on `task_runner.py`, reusing the existing `InProcessExecutionAPI` to spin up an in-process server at parse time when running as `__main__`. The building blocks are already there with `InProcessTestSupervisor`. The open question is scoping the security model, since the Execution API relies on task identity and there's no task context during parsing. I'll need input from @ashb and @kaxil on that before moving forward. -- 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]
