Skip to content

Conversation

@findleyr
Copy link
Contributor

@findleyr findleyr commented Sep 4, 2025

Refactor streamable client tests to be more versatile, and systematically improve client errors for the streamable transport.

Use a fake streamable server to facilitate testing client behavior.
For this commit, just update the existing test (moved to a new file for
isolation). Subsequent CLs will add more tests.

Improve one client error message that occurred while debuging tests.

For modelcontextprotocol#393
@findleyr findleyr requested a review from jba September 4, 2025 17:22
The streamable client connection can break for a variety of reasons,
asynchronously to the client's request. Decorate these failures with
additional context to clarify why they occurred.

Add a test for the failure message of modelcontextprotocol#393.

Fixes modelcontextprotocol#393
@findleyr findleyr merged commit 2c40bdc into modelcontextprotocol:main Sep 4, 2025
5 checks passed
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