René's URL Explorer Experiment


Title: Record JSON-RPC error responses on the client OpenTelemetry span by maxisbey · Pull Request #3629 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Record JSON-RPC error responses on the client OpenTelemetry span by maxisbey · Pull Request #3629 · modelcontextprotocol/python-sdk

X Title: Record JSON-RPC error responses on the client OpenTelemetry span by maxisbey · Pull Request #3629 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Record JSON-RPC error responses on the client OpenTelemetry span by maxisbey · Pull Request #3629 · modelcontextprotocol/python-sdk

Open Graph Description: Fixes #3174. When the peer answers a request with a JSON-RPC error, the client span (MCP send <method>) ends looking exactly like a success: status unset, no error attributes. The caller stil...

X Description: Fixes #3174. When the peer answers a request with a JSON-RPC error, the client span (MCP send &lt;method&gt;) ends looking exactly like a success: status unset, no error attributes. The cal...

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

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:8e1b7bfe-33fe-534b-e45f-05b9f9888320
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE94:C9BDE:1EA10E6:294509D:6B055AA1
html-safe-noncecd1ee64615f1baa4ce17e9aca7333b7ad5d9173cb863c705b40a18b48a13ed66
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTk0OkM5QkRFOjFFQTEwRTY6Mjk0NTA5RDo2QjA1NUFBMSIsInZpc2l0b3JfaWQiOiIxNTcxNjYzNTk0OTQzNTAzMDA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccbf9495df7e589b44e66d365238b8819743620e38d3d7aa08e591f4a163b198a
hovercard-subject-tagpull_request:4716988215
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/3629/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/42eaedff59fb3b0f81d3eb78b48e0869b140a42d836d64a128a8d4a4d49fe40b/modelcontextprotocol/python-sdk/pull/3629
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/42eaedff59fb3b0f81d3eb78b48e0869b140a42d836d64a128a8d4a4d49fe40b/modelcontextprotocol/python-sdk/pull/3629
og:image:altFixes #3174. When the peer answers a request with a JSON-RPC error, the client span (MCP send <method>) ends looking exactly like a success: status unset, no error attributes. The caller stil...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxisbey
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
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
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3629
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3629
Sign uphttps://redirect.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://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
modelcontextprotocolhttps://redirect.github.com/modelcontextprotocol
python-sdkhttps://redirect.github.com/modelcontextprotocol/python-sdk
Codehttps://redirect.github.com/modelcontextprotocol/python-sdk
Issues320 (320)https://redirect.github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://redirect.github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://redirect.github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://redirect.github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://redirect.github.com/modelcontextprotocol/python-sdk/security
Insightshttps://redirect.github.com/modelcontextprotocol/python-sdk/insights
https://redirect.github.com/modelcontextprotocol/python-sdk
maxisbeyhttps://redirect.github.com/maxisbey
mainhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/main
3174-client-span-error-statushttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/3174-client-span-error-status
Conversationhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629
Commits2 (2)https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/commits
Checkshttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/checks
Files changedhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files
Record JSON-RPC error responses on the client OpenTelemetry spanhttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#top
maxisbeyhttps://redirect.github.com/maxisbey
mainhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/main
3174-client-span-error-statushttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/3174-client-span-error-status
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
Oct 2, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#issue-5678066417
#3174https://github.com/modelcontextprotocol/python-sdk/issues/3174
"All JSON-RPC error codes SHOULD be considered errors."https://github.com/open-telemetry/semantic-conventions-genai/blob/b31e9e8ea26ac1c086d3313d474e31d7c3f391ae/docs/gen-ai/mcp.md#L201-L204
descriptionhttps://github.com/open-telemetry/semantic-conventions-genai/blob/b31e9e8ea26ac1c086d3313d474e31d7c3f391ae/docs/gen-ai/mcp.md#L128-L132
error.typehttps://github.com/open-telemetry/semantic-conventions-genai/blob/b31e9e8ea26ac1c086d3313d474e31d7c3f391ae/docs/gen-ai/mcp.md#L180-L185
rpc.response.status_codehttps://github.com/open-telemetry/semantic-conventions-genai/blob/b31e9e8ea26ac1c086d3313d474e31d7c3f391ae/docs/gen-ai/mcp.md#L166
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/maxisbey
Record JSON-RPC error responses on the client OpenTelemetry spanhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/commits/6af12e0d64aaae8c41af8d3897ccd474277fc94f
6af12e0https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/commits/6af12e0d64aaae8c41af8d3897ccd474277fc94f
#3174https://github.com/modelcontextprotocol/python-sdk/issues/3174
https://redirect.github.com/apps/cubic-dev-ai
cubic-dev-aihttps://redirect.github.com/apps/cubic-dev-ai
Oct 2, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#pullrequestreview-5392373253
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/6af12e0d64aaae8c41af8d3897ccd474277fc94f
cubic-dev-aihttps://redirect.github.com/apps/cubic-dev-ai
https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#pullrequestreview-5392373253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Re-trigger cubichttps://www.cubic.dev/action/re-review/pr/modelcontextprotocol/python-sdk/3629/ai_pr_review_github_delivery_71614972edff9f27748e72881d9f1cf8c7e9c629f7a870e33219196f54239335?returnTo=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3629
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
src/mcp/shared/jsonrpc_dispatcher.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/6af12e0d64aaae8c41af8d3897ccd474277fc94f#diff-3d8fb73fa8b126691302c15bb63bbc44a3a0e9338a17f14b3b4ea1d97bb10c2c
cubic-dev-aihttps://redirect.github.com/apps/cubic-dev-ai
Oct 2, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#discussion_r4166175455
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/apps/claude
claudehttps://redirect.github.com/apps/claude
Oct 2, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#pullrequestreview-5392375100
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/6af12e0d64aaae8c41af8d3897ccd474277fc94f
claudehttps://redirect.github.com/apps/claude
https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#pullrequestreview-5392375100
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
src/mcp/shared/jsonrpc_dispatcher.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/6af12e0d64aaae8c41af8d3897ccd474277fc94f#diff-3d8fb73fa8b126691302c15bb63bbc44a3a0e9338a17f14b3b4ea1d97bb10c2c
claudehttps://redirect.github.com/apps/claude
Oct 2, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#discussion_r4166176804
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
tests/shared/test_otel.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/6af12e0d64aaae8c41af8d3897ccd474277fc94f#diff-84f003b56f0cb53b4aa8d9c9b77caceba5fdebd6874448f02410dffb0815cbaa
claudehttps://redirect.github.com/apps/claude
Oct 2, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#discussion_r4166176813
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/soyeladice-svg
https://github.com/apps/chatgpt-codex-connector
soyeladice-svghttps://redirect.github.com/soyeladice-svg
Oct 2, 2026https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#issuecomment-5953605236
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/maxisbey
Merge remote-tracking branch 'origin/main' into 3174-client-span-erro…https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/commits/b6ed5bc2dfd655b586165ac7f03b687fd8b82c76
b6ed5bchttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/commits/b6ed5bc2dfd655b586165ac7f03b687fd8b82c76
https://redirect.github.com/apps/claude
claudehttps://redirect.github.com/apps/claude
Oct 2, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#pullrequestreview-5392563859
View reviewed changes https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/b6ed5bc2dfd655b586165ac7f03b687fd8b82c76
claudehttps://redirect.github.com/apps/claude
https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#pullrequestreview-5392563859
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
cafa33bhttps://redirect.github.com/modelcontextprotocol/python-sdk/commit/cafa33b3530b0af2e4a8467d11f92bc1cb00368e
Oct 2, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3629#event-32338806537
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
October 2, 2026 13:53https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#event-32338809726
https://redirect.github.com/maxisbey
maxisbeyhttps://redirect.github.com/maxisbey
Oct 2, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#ref-issue-4979103793
[v2] JSON-RPC error responses leave client OpenTelemetry spans UNSET #3174 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3174
https://redirect.github.com/jtmpl
jtmplhttps://redirect.github.com/jtmpl
Oct 7, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#ref-issue-5703424231
Find out whether mutation testing fits in the pull request checks agentic-templates/repo-template#244 https://redirect.github.com/agentic-templates/repo-template/issues/244
https://redirect.github.com/rodrigogaraujo
rodrigogaraujohttps://redirect.github.com/rodrigogaraujo
Nov 8, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629#ref-issue-6182230138
OTel client span stays Unset when the tool result has isError: true #3810 https://redirect.github.com/modelcontextprotocol/python-sdk/issues/3810
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/issues/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3629
https://redirect.github.com/apps/cubic-dev-ai
cubic-dev-ai[bot] https://redirect.github.com/apps/cubic-dev-ai
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/6af12e0d64aaae8c41af8d3897ccd474277fc94f
https://redirect.github.com/apps/claude
claude[bot] https://redirect.github.com/apps/claude
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3629/files/b6ed5bc2dfd655b586165ac7f03b687fd8b82c76
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
[v2] JSON-RPC error responses leave client OpenTelemetry spans UNSET https://github.com/modelcontextprotocol/python-sdk/issues/3174
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/issues/3629
https://redirect.github.com/maxisbey
https://redirect.github.com/soyeladice-svg
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.