René's URL Explorer Experiment


Title: [v1.x] Backport transport test deflakes from main (tests-only) by maxisbey · Pull Request #2837 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: [v1.x] Backport transport test deflakes from main (tests-only) by maxisbey · Pull Request #2837 · modelcontextprotocol/python-sdk

X Title: [v1.x] Backport transport test deflakes from main (tests-only) by maxisbey · Pull Request #2837 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - [v1.x] Backport transport test deflakes from main (tests-only) by maxisbey · Pull Request #2837 · modelcontextprotocol/python-sdk

Open Graph Description: Backports the transport test deflaking work from main (#2764, #2765, #2767, #2788) to v1.x. Tests-only: the diff touches nothing under src/. Stacked on #2717 (maxisbey/v1x-interaction-backport), wh...

X Description: Backports the transport test deflaking work from main (#2764, #2765, #2767, #2788) to v1.x. Tests-only: the diff touches nothing under src/. Stacked on #2717 (maxisbey/v1x-interaction-backport), wh...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2837

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b3adf5d6-1f64-0a55-4212-e836c8c7dc25
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE39C:2053C6:87A0AC:C2A5F3:6A59F151
html-safe-nonce99031f69fb19e4005580ec8680e5e3d75ced59e8862aa6955ed9e6192d3023a5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzlDOjIwNTNDNjo4N0EwQUM6QzJBNUYzOjZBNTlGMTUxIiwidmlzaXRvcl9pZCI6IjM4MDIxOTk4OTMxMTg0MTUxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccef314d1f7e3fa919e1df5c87f596e830c70da0575974fd69c005ffa374569e1
hovercard-subject-tagpull_request:3848207212
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2837/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dc5a0078ee8d0f17d353b00030c00c8cd4f569c85dba329a0c55e95083f083da/modelcontextprotocol/python-sdk/pull/2837
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dc5a0078ee8d0f17d353b00030c00c8cd4f569c85dba329a0c55e95083f083da/modelcontextprotocol/python-sdk/pull/2837
og:image:altBackports the transport test deflaking work from main (#2764, #2765, #2767, #2788) to v1.x. Tests-only: the diff touches nothing under src/. Stacked on #2717 (maxisbey/v1x-interaction-backport), wh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
Noneba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release24801cf86623a319252348d1fd69122ad974b842
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2837#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2837
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2837
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2837
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2837
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2837
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2837
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 255 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 303 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
maxisbeyhttps://github.com/maxisbey
maxisbey/v1x-interaction-backporthttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v1x-interaction-backport
maxisbey/v1x-tests-deflakehttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v1x-tests-deflake
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2837
Commits17 (17)https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2837/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/files
[v1.x] Backport transport test deflakes from main (tests-only)https://github.com/modelcontextprotocol/python-sdk/pull/2837#top
maxisbeyhttps://github.com/maxisbey
maxisbey/v1x-interaction-backporthttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v1x-interaction-backport
maxisbey/v1x-tests-deflakehttps://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/v1x-tests-deflake
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 11, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2837#issue-4641651751
#2764https://github.com/modelcontextprotocol/python-sdk/pull/2764
#2765https://github.com/modelcontextprotocol/python-sdk/pull/2765
#2767https://github.com/modelcontextprotocol/python-sdk/pull/2767
#2788https://github.com/modelcontextprotocol/python-sdk/pull/2788
#2717https://github.com/modelcontextprotocol/python-sdk/pull/2717
#2717https://github.com/modelcontextprotocol/python-sdk/pull/2717
#2788https://github.com/modelcontextprotocol/python-sdk/pull/2788
#2717https://github.com/modelcontextprotocol/python-sdk/pull/2717
Run StreamableHTTP transport tests in process instead of over sockets #2767https://github.com/modelcontextprotocol/python-sdk/pull/2767
fix: accept wildcard media types in Accept header per RFC 7231 #2152https://github.com/modelcontextprotocol/python-sdk/pull/2152
Bad interaction between asyncio task cancellation and trace functions (only 3.11) python/cpython#106749https://github.com/python/cpython/issues/106749
MCP Documentationhttps://modelcontextprotocol.io
#2717https://github.com/modelcontextprotocol/python-sdk/pull/2717
#2717https://github.com/modelcontextprotocol/python-sdk/pull/2717
#2717https://github.com/modelcontextprotocol/python-sdk/pull/2717
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2837
maxisbeyhttps://github.com/maxisbey
June 11, 2026 14:52https://github.com/modelcontextprotocol/python-sdk/pull/2837#commits-pushed-b880950
https://github.com/maxisbey
Deflake the session-level timeout test with trio's virtual clock (https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b880950a26ca758a2a9830a27ec63d8935a58ea6
#2788https://github.com/modelcontextprotocol/python-sdk/pull/2788
)https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b880950a26ca758a2a9830a27ec63d8935a58ea6
b880950https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b880950a26ca758a2a9830a27ec63d8935a58ea6
https://github.com/maxisbey
tests: avoid abandoned-async-generator warnings under the trio backendhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/ea6a479e41b8030728c5960e96688bc8d2552155
ea6a479https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/ea6a479e41b8030728c5960e96688bc8d2552155
https://github.com/maxisbey
tests: re-export StreamingASGITransport as the sanctioned bridge impo…https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/8d7389602750dbfcb4a3cd8bc16c7b6b54598c4a
8d73896https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/8d7389602750dbfcb4a3cd8bc16c7b6b54598c4a
https://github.com/maxisbey
Run transport security tests in process instead of over sockets (https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/6a6e7b7276bde130c3bf7825890e1221a0e08075
#2764https://github.com/modelcontextprotocol/python-sdk/pull/2764
)https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/6a6e7b7276bde130c3bf7825890e1221a0e08075
6a6e7b7https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/6a6e7b7276bde130c3bf7825890e1221a0e08075
b3025f9https://github.com/modelcontextprotocol/python-sdk/commit/b3025f93b4ba63c6d0d04b1357947ecdb78eb0bd
https://github.com/maxisbey
Filter known anyio stream teardown warnings in streamable HTTP securi…https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/fd71a106b16a90eff78ed3471ce2b1c8936dd9ac
fd71a10https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/fd71a106b16a90eff78ed3471ce2b1c8936dd9ac
https://github.com/maxisbey
Run SSE and Unicode transport tests in process instead of over sockets (https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/92c4fe063859d2cbd75e96fe79fa5bd9e66ae171
92c4fe0https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/92c4fe063859d2cbd75e96fe79fa5bd9e66ae171
#2765https://github.com/modelcontextprotocol/python-sdk/pull/2765
ed39e73https://github.com/modelcontextprotocol/python-sdk/commit/ed39e73c0ba16cd3ff9c3996421a17c21b4ed05b
https://github.com/maxisbey
Guard in-process HTTP tests against sse-starlette's global exit eventhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/a94f3d5827745c85c37fded476631e4e6a18d93d
a94f3d5https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/a94f3d5827745c85c37fded476631e4e6a18d93d
https://github.com/maxisbey
Run StreamableHTTP transport tests in process instead of over sockets (https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/43cf9ec76242670fae1bb23cb1999540467ed3f1
https://github.com/modelcontextprotocol/python-sdk/pull/2767
43cf9echttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/43cf9ec76242670fae1bb23cb1999540467ed3f1
…#2767https://github.com/modelcontextprotocol/python-sdk/pull/2767
19fe9fahttps://github.com/modelcontextprotocol/python-sdk/commit/19fe9faec82cd2b901ecdc5d45300f2ac9189ec6
https://github.com/maxisbey
Force per-test GC so leaked-stream warnings stay inside the scoped fi…https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b80a9bd7c60517d240c133b6e0190ca7ad22567e
b80a9bdhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b80a9bd7c60517d240c133b6e0190ca7ad22567e
https://github.com/maxisbey
Guard streamable-HTTP test modules against sse-starlette's module-glo…https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/9dc96d66b50b2ce715873bd985ec9f173ff36cba
9dc96d6https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/9dc96d66b50b2ce715873bd985ec9f173ff36cba
https://github.com/maxisbey
Extend the per-test GC fixture to the SSE and Unicode HTTP test moduleshttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/600c96e3f983362cb06ae45ea8e37baa6a543789
600c96ehttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/600c96e3f983362cb06ae45ea8e37baa6a543789
https://github.com/maxisbey
Harden the streaming ASGI bridge against trailing responseshttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/39938a2f8a784551221f807cef46caf6e29d60c0
39938a2https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/39938a2f8a784551221f807cef46caf6e29d60c0
https://github.com/maxisbey
Verify SSE request-context isolation inside each connection blockhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b732867ccfabb20fd870a173831934930498c268
b732867https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/b732867ccfabb20fd870a173831934930498c268
python/cpython#106749https://github.com/python/cpython/issues/106749
https://github.com/maxisbey
Exclude the connection loop's exit arc from branch coveragehttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/3e53636d7608b3e685dd3a5798a3393031c94436
3e53636https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/3e53636d7608b3e685dd3a5798a3393031c94436
https://github.com/maxisbey
Exclude post-teardown header checks from 3.11 coverage measurementhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/16ceeea3a98a104634e2e22c7afaf74ff312727d
16ceeeahttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/16ceeea3a98a104634e2e22c7afaf74ff312727d
python/cpython#106749https://github.com/python/cpython/issues/106749
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 11, 2026 15:02https://github.com/modelcontextprotocol/python-sdk/pull/2837#event-26632201029
maxisbeyhttps://github.com/maxisbey
June 11, 2026 15:56https://github.com/modelcontextprotocol/python-sdk/pull/2837#commits-pushed-e155e1b
https://github.com/maxisbey
Deflake child process cleanup tests with polling instead of fixed sleepshttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/e155e1bb9e304f6b77078e5851884e1ca8be6cda
e155e1bhttps://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/e155e1bb9e304f6b77078e5851884e1ca8be6cda
https://github.com/maxisbey
Harden stop detection and avoid redundant tree termination in cleanup…https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/4a17006005d42aa1eb5bccb345bd92d0bee49f76
4a17006https://github.com/modelcontextprotocol/python-sdk/pull/2837/commits/4a17006005d42aa1eb5bccb345bd92d0bee49f76
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Jun 11, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2837#pullrequestreview-4478559185
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/2837/files/4a17006005d42aa1eb5bccb345bd92d0bee49f76
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
a3234b6https://github.com/modelcontextprotocol/python-sdk/commit/a3234b6ef97ba2d1f369998132999267dea5f2bb
Jun 11, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2837#event-26635470236
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2837
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
June 11, 2026 16:15https://github.com/modelcontextprotocol/python-sdk/pull/2837#event-26635472027
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Jun 11, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2837#ref-pullrequest-4642447863
[v1.x] Deflake the child process cleanup tests #2839 https://github.com/modelcontextprotocol/python-sdk/pull/2839
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2837
https://github.com/felixweinberger
felixweinberger https://github.com/felixweinberger
https://github.com/modelcontextprotocol/python-sdk/pull/2837/files/4a17006005d42aa1eb5bccb345bd92d0bee49f76
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2837
https://github.com/maxisbey
https://github.com/felixweinberger
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.