subhash-0000 opened a new pull request, #61281:
URL: https://github.com/apache/airflow/pull/61281

   This PR fixes a segmentation fault in the Airflow API server that occurs 
when PYTHONASYNCIODEBUG=1 is set on Python 3.13+.
   
   Problem: uvloop is incompatible with asyncio debug mode on Python 3.13, 
causing the API server to crash on the first request.
   
   Solution: Added a defensive check in the API server entrypoint (main.py) to 
detect PYTHONASYNCIODEBUG=1. If debug mode is enabled, uvloop is not installed, 
and a RuntimeWarning is emitted. Otherwise, uvloop is installed as usual for 
performance.
   
   Documentation: Added a newsfragment 61214.significant.rst to note this 
change in the release notes.
   
   This ensures the API server is stable under debug mode while retaining 
performance when debug mode is off.
   
   Closes: #61214


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