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

   `breeze release-management generate-providers-metadata 
--refresh-constraints-and-airflow-releases` hangs forever on the 
multiprocessing pool.
   
   The pools in this flow used the platform-default start method (`fork` on 
Linux). Before the pools are created the parent process has already used 
GitPython — which opens persistent `git cat-file --batch` subprocesses and is 
not fork-safe — and holds open network sockets from the version/constraints 
downloads. Forking that state into the workers leaves them with broken 
inherited file descriptors, so the pool deadlocks. This is most reliable with 
`--refresh-constraints-and-airflow-releases`, which forces the parent through 
git and the network before forking.
   
   Switching the three pools in this flow to the `spawn` start method gives 
each worker a clean interpreter with no inherited git subprocesses or sockets.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


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