The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/ci/prek-guard-api-exception-import has succeeded.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
2afe8c889d6cc9f342cc30b945cfa7e758bb76a5 / LIU ZHE YOU <[email protected]>
Cover serve_logs FastAPI app and add unit tests for the import-guard hook

Widens the ``airflow-core`` hook scope to ``src/airflow/utils/serve_logs/``
(and its test file) so the worker log-serving FastAPI app -- which raises
``HTTPException`` in ~10 places but lives outside ``api_fastapi/`` -- is
also guarded against ``starlette.exceptions`` / ``http.client`` imports
of ``HTTPException``.

Adds parametrized unit tests at 
``scripts/tests/ci/prek/test_check_http_exception_import_from_fastapi.py``
covering plain, aliased, and dotted (``fastapi.exceptions``) good
imports, ``starlette.exceptions`` / ``http.client`` violations,
aliased violations, and graceful handling of syntax errors and
missing files.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to