potiuk commented on PR #69811:
URL: https://github.com/apache/airflow/pull/69811#issuecomment-6563150165
Thanks for this, @shaealh. Most of it has since landed on `main` via #75689
("Allow FastAPI 0.137+ by requiring cadwyn 8.1"), which raised the floors to
`cadwyn>=8.1.0` / `fastapi>=0.142.0` and switched the auth and token-scope
route inspection to `iter_route_contexts()`.
What this PR still adds on top looks like the build-time assembly of a fresh
Execution API router (instead of mutating the shared one), keeping custom
token-scope metadata from the original routes, and the regression test showing
that an unprotected route is detected. If you'd like to carry those, could you
rebase onto `main` and narrow the PR to just them? If you think they're no
longer needed after #75689, feel free to close it.
---
Drafted-by: Claude Code (Claude Opus 5); reviewed by @potiuk before posting
--
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]