The GitHub Actions job "Tests" on airflow.git/v3-1-test has failed.
Run started by GitHub user vincbeck (triggered by vincbeck).

Head commit for run:
cfe27e7d8ac7c0e4794a63d5e2686d2ec21ae247 / Vincent 
<[email protected]>
Fix race condition in auth manager initialization (#62431) (#62995)

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.

Co-authored-by: Young-Ki Kim <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/22865072440

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to