Title: Unify process termination on POSIX & Windows (+ tests) by felixweinberger · Pull Request #1044 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Unify process termination on POSIX & Windows (+ tests) by felixweinberger · Pull Request #1044 · modelcontextprotocol/python-sdk
X Title: Unify process termination on POSIX & Windows (+ tests) by felixweinberger · Pull Request #1044 · modelcontextprotocol/python-sdk
Description: Motivation and Context #555, #559 address important but different ways MCP servers can hang or fail to successfully terminate on Windows & POSIX systems. This PR re-implements #555 by aligning process termination between Windows and Unix to make sure SIGTERM-ignoring processes don't inadvertently cause hangs. How Has This Been Tested? New regression tests added for #555 and #559. These were developed and tested on both POSIX and Windows systems. Original authors: @cristipufu, @LionNatsu 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
Open Graph Description: Motivation and Context #555, #559 address important but different ways MCP servers can hang or fail to successfully terminate on Windows & POSIX systems. This PR re-implements #555 by aligning...
X Description: Motivation and Context #555, #559 address important but different ways MCP servers can hang or fail to successfully terminate on Windows & POSIX systems. This PR re-implements #555 by alig...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/1044
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0ba3bc69-e772-ce7f-c6f1-0dcc9b7c62bc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D820:CB8D0:8548CE:BFFB76:6A59F186 |
| html-safe-nonce | 42b14873e3809264680dd8b98c827b05e4d904162a5ee99f3a921120463ef1f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODIwOkNCOEQwOjg1NDhDRTpCRkZCNzY6NkE1OUYxODYiLCJ2aXNpdG9yX2lkIjoiNDI0MTI2ODg3MjE2NTU4NTI4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fcbf0062209fda4f819adcb6ca8b2d7709d3f45f998051f532b65db58334e0eb |
| hovercard-subject-tag | pull_request:2622350815 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/1044/files |
| twitter:image | https://avatars.githubusercontent.com/u/3823880?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3823880?s=400&v=4 |
| og:image:alt | Motivation and Context #555, #559 address important but different ways MCP servers can hang or fail to successfully terminate on Windows & POSIX systems. This PR re-implements #555 by aligning... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 24801cf86623a319252348d1fd69122ad974b842 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width