The GitHub Actions job "Copilot code review" on 
airflow.git/refs/pull/64908/head has failed.
Run started by GitHub user Copilot (triggered by Copilot).

Head commit for run:
2159922bcb53a53f5ce94eb04182c876565a78cf / kalluripradeep 
<[email protected]>
fix(providers/fab): lazily initialize flask_app in FastAPI routes

This addresses feedback on PR #64418. In certain execution flows (like specific 
CLI commands or isolated tests), the FabAuthManager might be initialized 
without get_fastapi_app() being called, leaving flask_app as None.

This change ensures that if flask_app is accessed and found to be None, it is 
lazily initialized on demand, preventing HTTP 500 errors.

Closes #64151 follow-up.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to