Repository navigation
[v3-4-test] Allow FastAPI 0.137+ by requiring cadwyn 8.1 (#75689) - #75715
Merged
Merged
Conversation
vatsrahul1001
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
dheerajturaga,
ephraimbuddy,
gopidesupavan,
henry3260,
jason810496,
jscheffl,
kaxil,
pierrejeambrun,
potiuk,
rawwar and
shubhamraj-git
as code owners
October 27, 2026 05:27
amoghrajesh
approved these changes
Oct 27, 2026
jedcunningham
approved these changes
Oct 27, 2026
vatsrahul1001
force-pushed
the
backport-b70a439-v3-4-test
branch
from
October 27, 2026 05:55
999fa53 to
1ee8e80
Compare
Contributor
RunsOn re-runs them automatically when the run finishes; no action is needed. |
ashb
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manual backport of #75689 to
v3-4-test.The auto-backport conflicted because #75689 was built on two features that are not on
v3-4-test(both 3.5.0-scoped and deliberately kept off the branch). This is a pruned subset that drops the parts depending on them and keeps the FastAPI/cadwyn bump plus the lazy-router + native-OpenTelemetry-disable adaptations.Dropped (absent from
v3-4-test):common/http_metrics.py+ its test + theHttpMetricsMiddlewareimport/tests inapp.py/test_app.py.JOB_UNCHECKED_ROUTES,DAG_PROCESSOR_*dicts) andTestDagProcessorMessageRoutesintest_token_scope_boundaries.py.Kept / adapted:
fastapi>=0.142(resolves 0.161) +cadwyn>=8.1in airflow-core and task-sdk (+uv.lock).NATIVE_TELEMETRY_DISABLEDapplied to all FastAPI apps (core, execution, log server).iter_route_contexts/iter_api_routes) inexecution_api/app.pyand the remaining execution-API tests, includingtest_token_scope_boundaries.py::TestTokenScopeBoundariesand the newtest_fastapi_native_telemetry_records_no_spans.taskinstance.pyDiscriminator(...)change.Verified locally: no conflict markers,
py_compileclean, and the remaining source references only symbols present onv3-4-test(require_auth,_REQUEST_SCOPE_TOKEN_KEY,InProcessExecutionAPI) plus fastapi 0.161'siter_route_contexts. Full execution-API test validation runs here in CI under fastapi 0.161.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.8) following the guidelines