You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(http-client-python): make SSE reconnection opt-in - #12150
Make automatic SSE reconnection opt-in with the enable-sse-reconnect emitter option, which defaults to false. Without this option, SSE streams end at EOF without reconnect callbacks, retry delays, or Last-Event-ID request plumbing. SSE parsing, event ID and retry metadata (including metadata-only blocks), terminal events, and stream cleanup remain available.,> ,> Enable reconnection when generating the client:,> ,> yaml,> emit:,> - "@typespec/http-client-python",> options:,> "@typespec/http-client-python":,> enable-sse-reconnect: true,>
Merge upstream main to align core dependencies with the Azure integration workspace. Register the default-off SSE fixture namespace for spell checking.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy decoder metadata before EOF exit and reconnect decisions in sync and async streams. Cover metadata-only blocks across reconnect options and flavors while preserving enabled resumption and HTTP 204 termination.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This changes existing generated SSE clients from reconnecting at EOF to stopping by default, so the output is not semantically equivalent and existing runtime behavior changes. Per website/src/content/docs/docs/handbook/breaking-change-policy.mdx:19-20,79-81 and .chronus/config.yaml:19-32, classify this entry as breaking rather than feature.
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
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.
mock api test failing bc typespec-azure doesnt recognize the flag and that we have it set to false