René's URL Explorer Experiment


Title: Surface skipped conformance scenarios as baselined known failures by maxisbey · Pull Request #3030 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Surface skipped conformance scenarios as baselined known failures by maxisbey · Pull Request #3030 · modelcontextprotocol/python-sdk

X Title: Surface skipped conformance scenarios as baselined known failures by maxisbey · Pull Request #3030 · modelcontextprotocol/python-sdk

Description: Conformance CI's green currently overstates coverage in two ways: 11 of the harness's server scenarios are never selected at all (the 10 extension-tagged tasks-* scenarios never match a --spec-version filter and sit on the harness's pending list, so the active, draft, and 2026 legs all exclude them; server-sse-polling is pending-listed and removed at 2026-07-28, so no leg can reach it), and several checks inside running scenarios skip silently when a prerequisite is missing — all 5 SEP-2243 Mcp-Param-* server-validation checks skip because no fixture tool carries an x-mcp-header annotation, and the SEP-2575 subscriptions/listen checks skip on -32601. This PR makes those surfaces visible as baselined known failures instead of silent exclusions, in three steps (one commit each): New server leg: bare --suite all (no --spec-version) — selects every scenario shipped with the pinned harness, including the extension-tagged and pending-listed ones that no existing leg reaches. With it, server-sse-polling turns out to already pass (3/3), and the 9 runnable tasks-* scenarios fail and are baselined in expected-failures.yml as a burn-down ledger — the harness's stale-entry rule forces each entry out as tasks support lands. tasks-status-notifications is deliberately not listed: the harness skips it unconditionally (pending its rewrite against subscriptions/listen), and a baseline entry for a scenario with no failing checks is itself flagged stale. This is the same pattern typescript-sdk uses (their extensions leg runs --suite all with no --spec-version and baselines the same nine tasks failures). test_x_mcp_header fixture tool in the everything-server (string param annotated x-mcp-header: Region via json_schema_extra, mirroring typescript-sdk's fixture) — the 5 Mcp-Param server-validation checks now execute: the 3 accept-path checks pass, the reject-path checks fail because server-side Mcp-Param validation isn't implemented yet, and the scenario is baselined in both expected-failures files. Conformance pin bump b18aa918 → 4944b268 (0.2.0-alpha.8, which includes conformance#372; not published to npm yet, so the same sha256-verified pkg.pr.new mechanics as before). #372 turns missing-prerequisite skips into "Not testable" failures, which surfaces one more unimplemented surface: server-stateless now fails its 3 subscriptions/listen MUST checks — the everything-server's legacy resources/subscribe handlers make it advertise resources.subscribe in server/discover while subscriptions/listen answers -32601, and advertised-but-rejected is now a failure. The scenario is baselined in both files until the listen runtime lands (#2804). The 2 listChanged SHOULD checks remain legitimately skipped (declared false, which #372 still treats as honest feature absence), and the tasks-* scenarios fail with higher check counts (their cascade skips now fail too) without needing entry changes. Net effect on the baseline: zero waivers for implemented surfaces is unchanged — every entry added here tracks a not-yet-built surface that previously produced no signal at all. Motivation and Context A green conformance run currently overstates coverage: unimplemented surfaces (tasks extension, server-side Mcp-Param validation, subscriptions/listen) produce no signal because their scenarios are filtered or their checks skip upstream of the expected-failures mechanism. Visible baselined failures are strictly better — they show up in the run output, they can't rot silently across harness pin bumps, and the stale-entry rule turns the baseline into a forced burn-down list as features land. How Has This Been Tested? Replicated all six CI legs locally against the new pinned tarball (sha256-verified), exactly as CI invokes them: the four server legs and both client legs exit 0 with "Baseline check passed" — --suite active → 42 passed, 0 failed (new entries inert — those scenarios aren't in the suite) --suite draft → 74 passed, 9 expected-failed (server-stateless 3 listen checks + http-custom-header-server-validation) --suite all --spec-version 2026-07-28 → 103 passed, 9 expected-failed (same two) --suite all (new leg) → 134 passed, 34 expected-failed (the above + 9 tasks-*); server-sse-polling and json-schema-2020-12 pass both client legs → 421/370 checks passed, 0 failed, 0 warnings Also verified the generated tools/list schema carries "x-mcp-header": "Region" through pydantic's json_schema_extra, and ran the discovery pass at the new pin before updating baselines to confirm server-stateless was the only newly-unexpected failure (no stale entries, no warnings anywhere). Breaking Changes None — CI configuration and a conformance fixture tool only. 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 Suite choice for the new leg: --suite pending (14 scenarios) would cover the same job-level union slightly faster, since all = active ∪ draft ∪ pending at this harness and the other two suites already run in this job. Bare --suite all is preferred for the self-contained full-denominator run, robustness to scenarios moving between harness suite lists across pin bumps, and parity with typescript-sdk's CI. Why per-scenario waivers and not something finer: the harness baseline is keyed by scenario name only; one entry waives every failing check in that scenario. For tasks-* and http-custom-header-server-validation that's cheap (each tracks exactly one unimplemented surface). For server-stateless it carries a real masking cost, called out in the baseline comment: while listed, new failures in the scenario's other 25 (currently passing) envelope/error-handling checks are also absorbed. The trade is deliberate — a visible, forced-burn-down known failure for the listen gap beats a silent skip — but it makes landing the listen runtime (#2804) the way to get those 25 checks back under guard. The capability inconsistency the harness flags is real, not a harness artifact: on the 2026 wire the server advertises resources.subscribe while the subscribe methods themselves answer 404/-32601 there. Implementing listen resolves it from one side; era-aware capability reporting in server/discover would resolve it from the other. The bare-all leg re-runs the active/draft scenarios at their default wire versions (same connections as the existing legs), so most of its runtime is duplicate coverage; the harness has a 10s per-request timeout, and the tasks scenarios fail fast on -32601 rather than hanging. The one genuinely new timing-sensitive scenario is server-sse-polling (real-time SSE reconnect waits); it passed consistently in local runs and runs green in typescript-sdk's identical leg, but if it proves flaky on 2-core runners it cannot be pre-waived (a baseline entry for a passing scenario is flagged stale), so a flake would need a rerun or a harness-side fix. AI Disclaimer

Open Graph Description: Conformance CI's green currently overstates coverage in two ways: 11 of the harness's server scenarios are never selected at all (the 10 extension-tagged tasks-* scenarios never match a --s...

X Description: Conformance CI's green currently overstates coverage in two ways: 11 of the harness's server scenarios are never selected at all (the 10 extension-tagged tasks-* scenarios never mat...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:08d08d9c-3fc9-e33f-1144-423a15f02065
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC1DA:1DC30F:A08EF6:CE29A6:6A5C13B0
html-safe-noncecb9794de2eaddef33b05bb7afb20e9ad56a6c3f0f2d816548e738a85f2b2cce6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMURBOjFEQzMwRjpBMDhFRjY6Q0UyOUE2OjZBNUMxM0IwIiwidmlzaXRvcl9pZCI6IjE0NTcyNTk5MzQwNDgzMjY1NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca9a9b22122c75878719c698bebc1887558b31784a8fd430d070324e3ab12b0e4
hovercard-subject-tagpull_request:3962430347
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3030/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altConformance CI's green currently overstates coverage in two ways: 11 of the harness's server scenarios are never selected at all (the 10 extension-tagged tasks-* scenarios never match a --s...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3030%2Ffiles
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%2F3030%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
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.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 259 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 307 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
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
conformance-skipshttps://github.com/modelcontextprotocol/python-sdk/tree/conformance-skips
Conversation 0 https://github.com/modelcontextprotocol/python-sdk/pull/3030
Commits 3 https://github.com/modelcontextprotocol/python-sdk/pull/3030/commits
Checks 62 https://github.com/modelcontextprotocol/python-sdk/pull/3030/checks
Files changed 4 https://github.com/modelcontextprotocol/python-sdk/pull/3030/files
Surface skipped conformance scenarios as baselined known failures https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#top
Show all changes 3 commits https://github.com/modelcontextprotocol/python-sdk/pull/3030/files
d372c07 Run the extension-tagged conformance scenarios in CI as baselined kno… maxisbey Jun 30, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3030/commits/d372c0701123b4acfe32f24c4fb53ad550ca899d
76b7016 Arm the Mcp-Param server-validation conformance checks with an x-mcp-… maxisbey Jun 30, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3030/commits/76b7016c36c6920762cce264e2ec079c4c3cbbf3
d9f928a Bump the conformance pin to 0.2.0-alpha.8 and baseline the listen che… maxisbey Jun 30, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3030/commits/d9f928a77ba874a199c98709a0da07bc867fd3cf
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3030/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
expected-failures.2026-07-28.yml https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
expected-failures.yml https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
conformance.yml https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
server.py https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
.github/actions/conformance/expected-failures.2026-07-28.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
View file https://github.com/modelcontextprotocol/python-sdk/blob/d9f928a77ba874a199c98709a0da07bc867fd3cf/.github/actions/conformance/expected-failures.2026-07-28.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3030/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-a8ea36ef04436cd253292c3fbbe06e88795d93362fba66a5919cc6793c5f2aef
.github/actions/conformance/expected-failures.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
View file https://github.com/modelcontextprotocol/python-sdk/blob/d9f928a77ba874a199c98709a0da07bc867fd3cf/.github/actions/conformance/expected-failures.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3030/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-9554cfe66b53ce3771454545473fbd08be68a3c6ecdd0f837273a3e41e6b67d7
.github/workflows/conformance.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
View file https://github.com/modelcontextprotocol/python-sdk/blob/d9f928a77ba874a199c98709a0da07bc867fd3cf/.github/workflows/conformance.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3030/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
examples/servers/everything-server/mcp_everything_server/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
View file https://github.com/modelcontextprotocol/python-sdk/blob/d9f928a77ba874a199c98709a0da07bc867fd3cf/examples/servers/everything-server/mcp_everything_server/server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3030/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
https://github.com/modelcontextprotocol/python-sdk/pull/3030/files#diff-941c156700d335386d0fe33c0d46429e483b49dbcdc451f0e9b8cef9343cb056
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3030/files
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.