shaealh opened a new pull request, #65993:
URL: https://github.com/apache/airflow/pull/65993

   Fixes #65945
   
   The triggerer uses the in-process Execution API through `a2wsgi`, but the 
app lifespan startup was scheduled on the background loop without waiting for 
it to complete. That could let triggerer startup continue while the Execution 
API was not fully initialized, and any startup failure could be hidden until 
later request handling.
   
   This change waits for the in-process Execution API lifespan to complete 
before returning the transport, and surfaces startup timeout/failure 
immediately.
   
   Tests:
   - `uv run ruff check 
airflow-core/src/airflow/api_fastapi/execution_api/app.py 
airflow-core/tests/unit/api_fastapi/execution_api/test_app.py`
   - `AIRFLOW_HOME=/tmp/airflow-65945-test uv run pytest 
airflow-core/tests/unit/api_fastapi/execution_api/test_app.py -q --with-db-init`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to