Skip to content

Rename session[:stream] to session[:get_sse_stream]#296

Merged
koic merged 1 commit intomodelcontextprotocol:mainfrom
koic:rename_session_stream_key
Apr 5, 2026
Merged

Rename session[:stream] to session[:get_sse_stream]#296
koic merged 1 commit intomodelcontextprotocol:mainfrom
koic:rename_session_stream_key

Conversation

@koic
Copy link
Copy Markdown
Member

@koic koic commented Apr 4, 2026

Motivation and Context

Follow-up to #294.

The generic :stream key does not convey that it refers to the GET SSE stream, making it harder to distinguish from session[:post_request_streams] introduced in #294.

How Has This Been Tested?

Ensure existing tests pass.

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Follow-up to modelcontextprotocol#294.

The generic `:stream` key does not convey that it refers to the GET SSE stream,
making it harder to distinguish from `session[:post_request_streams]` introduced in modelcontextprotocol#294.
@koic koic merged commit ba79d53 into modelcontextprotocol:main Apr 5, 2026
11 checks passed
@koic koic deleted the rename_session_stream_key branch April 5, 2026 18:30
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.

2 participants