kalluripradeep commented on PR #64908:
URL: https://github.com/apache/airflow/pull/64908#issuecomment-4242693699

   To confirm the robustness of this fix, I've performed additional 
verification beyond the unit tests. Specifically, I ran a concurrency 
simulation where 10 simultaneous threads attempted to hit the auth routes with 
flask_app uninitialized.
   
   **Verification Results:**
   - **Thread Safety**: The double-checked locking serialization worked 
perfectly. create_app() was called exactly **once** across all 10 threads.
   - - **State Recovery**: All 10 threads successfully retrieved the 
lazily-initialized app instance without any race conditions or 'AppBuilder not 
initialized' errors.
   This confirms the fix is safe for high-concurrency environments and 
correctly resolves the root cause in #64151. All CI checks are also passing for 
the latest commit.


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