Title: test_streamable_http.py::test_streamablehttp_client_resumption hangs intermittently · Issue #744 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: test_streamable_http.py::test_streamablehttp_client_resumption hangs intermittently · Issue #744 · modelcontextprotocol/python-sdk
X Title: test_streamable_http.py::test_streamablehttp_client_resumption hangs intermittently · Issue #744 · modelcontextprotocol/python-sdk
Description: Describe the bug When running pytest on codespaces tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption occaisionally hangs To Reproduce Steps to reproduce the behavior: Go to main branch of code Open branch in fre...
Open Graph Description: Describe the bug When running pytest on codespaces tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption occaisionally hangs To Reproduce Steps to reproduce the behavior: Go t...
X Description: Describe the bug When running pytest on codespaces tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption occaisionally hangs To Reproduce Steps to reproduce the behavior: Go t...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/744
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_streamable_http.py::test_streamablehttp_client_resumption hangs intermittently","articleBody":"**Describe the bug**\nWhen running pytest on codespaces tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption occaisionally hangs\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Go to main branch of code\n2. Open branch in fresh codespace\n3. In codespace terminal install uv - e.g. curl -LsSf https://astral.sh/uv/install.sh | sh\n4. In codespace terminal install dev dependencies e.g. uv sync --frozen --all-extras --dev\n5. In codespace terminal run `uv run pytest -vv`\n6. In codespace terminal check tests completed\n7. Repeat 5 until test hangs (usually within 1-5 repeats but I have seen up to 10 successes prior to a hang)\n\n**Expected behavior**\nTests run to completion and do not hang\n\n**Screenshots**\n\n\u003cimg width=\"1133\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f5b83e74-a92e-4996-9bdc-f74af16f6835\" /\u003e\n\n**Desktop (please complete the following information):**\n - OS: Github codeworkspace\n - Browser Firefox\n - Version main\n\n**Additional context**\nAs can be seen from the screen shot their appears to be a port open, I suspect a race condition meaning the test some times gets stuck, I've not yet had a chance to figure out what the test is doing\n","author":{"url":"https://github.com/davemssavage","@type":"Person","name":"davemssavage"},"datePublished":"2025-05-17T18:02:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/744/python-sdk/issues/744"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60ad0846-52ea-3b24-f56a-68404c68e3ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1C8:2DBF60:131FF3D:1988FBF:6A5AB35E |
| html-safe-nonce | 68665019ffd89fabd6b11c7e496ca259b0f977759a5be2a5d6456efb8e23ee5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUM4OjJEQkY2MDoxMzFGRjNEOjE5ODhGQkY6NkE1QUIzNUUiLCJ2aXNpdG9yX2lkIjoiMjU0NTg1NDA4MDI1NDQxMTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 84d660bc3637ef43aee72d7a406341233182d3c046bef4ad613836a36ec972f2 |
| hovercard-subject-tag | issue:3070969316 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/modelcontextprotocol/python-sdk/744/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4d3b2f457c078cc2e7a4ea5a3a43f21545b2a66e3e90f614e4cbca81d1bd25a/modelcontextprotocol/python-sdk/issues/744 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4d3b2f457c078cc2e7a4ea5a3a43f21545b2a66e3e90f614e4cbca81d1bd25a/modelcontextprotocol/python-sdk/issues/744 |
| og:image:alt | Describe the bug When running pytest on codespaces tests/shared/test_streamable_http.py::test_streamablehttp_client_resumption occaisionally hangs To Reproduce Steps to reproduce the behavior: Go t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davemssavage |
| hostname | github.com |
| expected-hostname | github.com |
| None | 21c53da6db0c40484841ba32fe19ecf485e7e734334faab487cd59d884d2bb33 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6e85f20f54e1147d8162094880590864abefff6b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width