Title: ci(conformance): bump harness to 0.2.0-alpha.5 preview by maxisbey · Pull Request #2927 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: ci(conformance): bump harness to 0.2.0-alpha.5 preview by maxisbey · Pull Request #2927 · modelcontextprotocol/python-sdk
X Title: ci(conformance): bump harness to 0.2.0-alpha.5 preview by maxisbey · Pull Request #2927 · modelcontextprotocol/python-sdk
Description: Bumps the conformance harness pin to the 0.2.0-alpha.5 preview build so the staging branch can assert the post-#2907 error codes (-32020..-32022) once the server-stateless / header-validation work starts emitting them. Part of #2891. Originally targeted the v2-2026-07-28 staging branch (#2917), retargeted to main after #2917 merged. Motivation and Context #2912 noted that the published @modelcontextprotocol/conformance@0.2.0-alpha.4 predates conformance#353 (the renumber). conformance#357 is the alpha.5 release PR that carries it; this PR pins to its pkg.pr.new preview build at commit 65fcd39 so the staging branch runs against the renumbered harness without waiting for the npm release. What changed conformance.yml: CONFORMANCE_VERSION → CONFORMANCE_PKG (full npx package spec, so the same line accepts either a registry version or a tarball URL). Pinned to https://pkg.pr.new/@modelcontextprotocol/conformance@65fcd39 — the immutable commit-SHA form, not the mutable @357 PR ref. A new "Fetch and verify conformance harness" step downloads the tarball, checks it against CONFORMANCE_PKG_SHA256, and re-points CONFORMANCE_PKG at the verified local file before any npx call (no-op when CONFORMANCE_PKG is a registry spec). The comment carries a TODO to swap to @modelcontextprotocol/conformance@0.2.0-alpha.5 once conformance#357 publishes, dropping the SHA + fetch step. run-server.sh + both client steps: npx --yes "$CONFORMANCE_PKG". expected-failures.yml: removed auth/scope-step-up from client: — conformance#337 gated the SEP-2350 scope-union check to 2026-07-28+, so it now passes on the 2025 client leg. It stays in expected-failures.2026-07-28.yml (still fails there). Both expected-failures*.yml header comments updated to reference CONFORMANCE_PKG. How Has This Been Tested? All 5 conformance legs run locally against the 65fcd39 build: Leg Exit Delta server --suite active 0 none server --suite draft 0 none server --suite all --spec-version 2026-07-28 0 none client --suite all 1 → 0 stale auth/scope-step-up removed client --suite all --spec-version 2026-07-28 0 none No new scenarios appeared (the SEP-2663 tasks scenarios from conformance#262 and the server/discover mocks from conformance#347 are not in active/draft/all at this build). 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 AI Disclaimer
Open Graph Description: Bumps the conformance harness pin to the 0.2.0-alpha.5 preview build so the staging branch can assert the post-#2907 error codes (-32020..-32022) once the server-stateless / header-validation work ...
X Description: Bumps the conformance harness pin to the 0.2.0-alpha.5 preview build so the staging branch can assert the post-#2907 error codes (-32020..-32022) once the server-stateless / header-validation work ...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2927
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b464174a-9a9a-c94d-0f79-a27ea86ec7f9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A43E:2FB4DB:9444F9:C64A42:6A599172 |
| html-safe-nonce | bba4f4389f596cffe093b33c0aeb0870af8dcc301cf5be9795bebd3084437970 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDNFOjJGQjREQjo5NDQ0Rjk6QzY0QTQyOjZBNTk5MTcyIiwidmlzaXRvcl9pZCI6IjY2MDEwNjYyMTgzMjkzMTM2NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 348fd8dd4c0878cced89aac1655e97db23e7f9841cd8fbcc28c1cbcdb76a5a1f |
| hovercard-subject-tag | pull_request:3904223626 |
| 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/2927/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Bumps the conformance harness pin to the 0.2.0-alpha.5 preview build so the staging branch can assert the post-#2907 error codes (-32020..-32022) once the server-stateless / header-validation work ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| 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 | 624bb50a7497aa346bef8cc3743af408a9ea10ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width