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

Head commit for run:
ac6f73a08cf2a424f3239b02cf25ca92349eba90 / Young-Ki Kim <[email protected]>
Fix race condition in auth manager initialization (#62431)

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

With regards,
GitHub Actions via GitBox


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

Reply via email to