You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2026/04/21 14:33:21 UTC
[PR] [v3-2-test] Add name fields to SDK deadline alerts [airflow]
pierrejeambrun opened a new pull request, #65601:
URL: https://github.com/apache/airflow/pull/65601
Backport of #64926 to `v3-2-test`.
Cherry-picked from e9d106667c7fe98f77c1312bb082c010b472c388.
Conflicts resolved:
- `airflow-core/src/airflow/api_fastapi/core_api/datamodels/ui/deadline.py` — applied this PR's changes to `DeadlineResponse` only (add `alert_id`, remove `alert_description`). Dropped unrelated `dag_id`/`dag_run_id` lines (main-only context drift, not part of this PR) and did not port the `DeadlineAlertResponse`/`DeadlineAlertCollectionResponse` classes because they don't exist in `v3-2-test`.
- `airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_deadlines.py` — applied the PR's test updates to `TestGetDagRunDeadlines` (swap `alert_description` assertion for `alert_id`, drop `alert_description` removal logic auto-merged cleanly). Did not port new `TestGetDeadlines` / `TestGetDagDeadlineAlerts` classes — they target endpoints that don't exist in `v3-2-test`.
- `airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml`, `airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts`, `airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts` — took `v3-2-test` (HEAD) version and let the `Generate the FastAPI API spec` + `Compile / format / lint UI` prek hooks regenerate them from the updated Python datamodel.
The rest of the PR (Task SDK `name` param, serialization encode/decode, `SerializedDagModel` name-update propagation, unit tests for those) applied cleanly.
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes — Claude Code (Opus 4.7)
Generated-by: Claude Code (Opus 4.7) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [v3-2-test] Add name fields to SDK deadline alerts [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun merged PR #65601:
URL: https://github.com/apache/airflow/pull/65601
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org