You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/02/27 08:58:49 UTC

[GH] (airflow/fix/thread-safe-auth-manager-init-v2): Workflow run "Tests" is working again!

The GitHub Actions job "Tests" on airflow.git/fix/thread-safe-auth-manager-init-v2 has succeeded.
Run started by GitHub user kimyoungi99 (triggered by kimyoungi99).

Head commit for run:
ad1324f7b47befdf5b4a283a6a57f1d416b77319 / kimyoungi99 <ki...@naver.com>
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/22477817312

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org