The GitHub Actions job "Tests" on airflow.git/fix/thread-safe-auth-manager-init-v2 has failed. Run started by GitHub user kimyoungi99 (triggered by kimyoungi99).
Head commit for run: 2f823601d4cab9e79fd310e9d5ee078f60570450 / kimyoungi99 <[email protected]> Serialize init_app() to prevent concurrent get_application_builder() races FAB FastAPI routes call get_application_builder() on every request, which creates a new Flask app and invokes init_app(). Concurrent calls race on the singleton auth_manager's appbuilder and security_manager, causing KeyError: 'AUTH_USER_REGISTRATION' and AttributeError. Add _init_app_lock around the critical section in init_app() that mutates the singleton auth_manager state and registers views, so concurrent get_application_builder() calls are serialized. Report URL: https://github.com/apache/airflow/actions/runs/22470484324 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
