The GitHub Actions job "Tests (AMD)" on airflow.git/ci/prek-guard-api-exception-import has succeeded. Run started by GitHub user jason810496 (triggered by jason810496).
Head commit for run: 49e36b07b8554a13f1d9ae9ec1ae4d89c5b06d2b / LIU ZHE YOU <[email protected]> Move HTTPException-import hook into per-distribution prek configs Splits the single root-level hook entry into per-distribution `.pre-commit-config.yaml` files (airflow-core, providers/amazon, providers/common/ai, providers/edge3, providers/fab, providers/keycloak). Each entry is scoped to the subtree that actually wires a FastAPI app, so edge3's `cli/` (client) is excluded and only `worker_api/` and `plugins/` are checked. Also fixes a latent bug the hook caught in `airflow-core/src/airflow/api_fastapi/core_api/routes/ui/dags.py`, where `HTTPException` was imported from `http.client` and called with FastAPI's `(status_code, detail)` signature -- the route would return 500 instead of the intended 400 for `dag_id == "~"`. Report URL: https://github.com/apache/airflow/actions/runs/26358782804 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
