AutomationDev85 opened a new pull request, #56700:
URL: https://github.com/apache/airflow/pull/56700

   # Overview
   
   We are preparing an update to the KubernetesPodTriggerer workflow to align 
its startup behavior with that of the synchronous workflow. As part of this 
effort, we are introducing this preparation PR.
   
   This PR moves certain container-related functions from PodManager to a new 
container.py module. This refactoring helps resolve circular import issues, as 
both the Hook and PodManager can now import these shared functions from 
container.py. In upcoming PRs, we plan to unify the code paths so that both the 
Triggerer (async) and synchronous workflows use the same logic to start pods. 
This change also lays the groundwork for introducing an AsyncPodManager that 
will utilize functions from the AsyncKubernetesHook.
   
   We welcome your feedback on this change
   
   # Details of change:
   
   * Move container-related functions from PodManager to container.py
   * Update PodManager and Hook to import these functions from the container.py
   * Move the PodOperatorHookProtocol class to the hook module.
   
   


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