Skip to content

Conversation

@pierrejeambrun
Copy link
Member

Closes: #58775

That's due to the recent change in FastAPI and how they handle responses (and fixes a bug for streaming responses).

Basically headers set after the yield of the dependency are not reflected in the actual response.

As a solution, similarly to the core API we now use a middleware instead to achieve the same.

@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Nov 27, 2025
@pierrejeambrun pierrejeambrun added this to the Airflow 3.2.0 milestone Nov 27, 2025
@pierrejeambrun pierrejeambrun self-assigned this Nov 27, 2025
@pierrejeambrun
Copy link
Member Author

Tested locally, this fixes the issue for me.

@pierrejeambrun pierrejeambrun force-pushed the fix-execution-api-refresh-token branch from 22789df to 8360ffb Compare November 28, 2025 11:19
@pierrejeambrun pierrejeambrun force-pushed the fix-execution-api-refresh-token branch from 8360ffb to 8a5037c Compare November 28, 2025 14:42
@vincbeck vincbeck merged commit f132513 into apache:main Nov 28, 2025
118 checks passed
RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Dec 3, 2025
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
jason810496 pushed a commit to jason810496/airflow that referenced this pull request Dec 22, 2025
(cherry picked from commit f132513)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
potiuk pushed a commit that referenced this pull request Dec 24, 2025
(cherry picked from commit f132513)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
@potiuk potiuk modified the milestones: Airflow 3.2.0, Airflow 3.1.6 Dec 24, 2025
ephraimbuddy pushed a commit that referenced this pull request Jan 6, 2026
(cherry picked from commit f132513)

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long running task failing because of JWT token expiration

5 participants