Skip to content

Conversation

@kpavlov
Copy link
Contributor

@kpavlov kpavlov commented Nov 6, 2025

Handle coroutine cancellation and exceptions in server transports. Replace Job.join() with awaitCancelation()

Thanks to @nerzhulart for suggestion

Motivation and Context

#355

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

@kpavlov kpavlov changed the title #355 Handle coroutine cancellation and exceptions in server transports #355 Handle coroutine cancellation in Server Transports Nov 6, 2025
@kpavlov kpavlov marked this pull request as ready for review November 7, 2025 09:27
@kpavlov
Copy link
Contributor Author

kpavlov commented Nov 7, 2025

Not sure if existing tests are enough

@kpavlov kpavlov merged commit 07f661a into main Nov 7, 2025
4 checks passed
@kpavlov kpavlov deleted the kpavlov/355 branch November 7, 2025 10:04
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.

3 participants