Skip to content

Conversation

DanielAvdar
Copy link
Contributor

Motivation and Context

How Has This Been Tested?

Breaking Changes

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

Refactored test to utilize `stdio_client` for more accurate simulation of the fixed behavior and added handling for proper initialization with `ClientSession`. Increased timeout to 10 seconds to prevent premature failures and ensured hanging issue is properly caught and reported.

Signed-off-by: DanielAvdar <[email protected]>
Separated the stdio client logic into dedicated modules for transport and parameter handling. The refactoring reduces complexity by isolating process management into `StdioClientTransport` and moving environment defaulting to a `parameters` module, improving maintainability and readability.

Signed-off-by: DanielAvdar <[email protected]>
Updated the Windows-specific test to use `@pytest.mark.parametrize` for varied command arguments. This change improves test coverage and simplifies the testing of process creation scenarios.

Signed-off-by: DanielAvdar <[email protected]>
Separated the stdio client logic into dedicated modules for transport and parameter handling. The refactoring reduces complexity by isolating process management into `StdioClientTransport` and moving environment defaulting to a `parameters` module, improving maintainability and readability.

Signed-off-by: DanielAvdar <[email protected]>
Commented out the stdout reader task initialization to prevent its execution. This change will temporarily avoid potential issues related to the stdout reader while other components continue functioning as expected.

Signed-off-by: DanielAvdar <[email protected]>
@DanielAvdar DanielAvdar closed this Jun 1, 2025
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.

1 participant