shaealh opened a new pull request, #69811: URL: https://github.com/apache/airflow/pull/69811
Addresses item 2 of #69616. ## Summary - Raise the Cadwyn minimum to 7.1.0 and FastAPI minimum to 0.137.2. - Replace mutation of a shared Execution API router with fresh, build-time router assembly. - Use FastAPI's `iter_route_contexts()` for authentication and token-scope route inspection. - Preserve custom token-scope metadata from the original routes. - Add a negative regression test proving that an accidentally unprotected route is detected. - Refresh `uv.lock` to Cadwyn 7.1.0 and FastAPI 0.139.0. ## Testing - Full Task Execution API suite: 524 passed. - Focused FastAPI migration suite: 36 passed. - Airflow core mypy: passed, 1,202 files checked. - Ruff formatting and lint: passed. - API server startup: verified. - Dag processor startup: verified. - `git diff --check`: passed. ## Gen-AI disclosure - [x] Yes, generative AI tooling was used. -- OpenAI Codex -- 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]
