Skip to content

fix(runtime-sdk): fix contextvars not being shared in WSGI streaming response - #288

Open
ryanking13 wants to merge 1 commit into
mainfrom
gyeongjae/flask-stream
Open

ryanking13 wants to merge 1 commit into
mainfrom
gyeongjae/flask-stream

Conversation

@ryanking13

Copy link
Copy Markdown
Contributor

fix #287

WSGI streaming response use stack switching. However, they should use the same contextvars, since they are in the same request context.

@ask-bonk

ask-bonk Bot commented Oct 7, 2026

Copy link
Copy Markdown

LGTM

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

runtime-sdk: Flask stream_with_context fails across WSGI streaming callback contexts

1 participant