ci: 🤖 Update test matrix with new releases (06/15)#6567
Merged
Conversation
Contributor
Author
Codecov Results 📊✅ 90783 passed | ⏭️ 6129 skipped | Total: 96912 | Pass Rate: 93.68% | Execution Time: 315m 46s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2417 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.61% 89.82% +0.21%
==========================================
Files 192 192 —
Lines 23732 23732 —
Branches 8194 8194 —
==========================================
+ Hits 21265 21315 +50
- Misses 2467 2417 -50
- Partials 1357 1347 -10Generated by Codecov Action |
Member
|
Fix for the failing |
ericapisani
added a commit
that referenced
this pull request
Jun 17, 2026
#6583) MCP SDK v2 changed handler signatures from (name, arguments) to (ctx, params) and removed the request_ctx ContextVar. Add version detection to patch the correct entry-points (Server.__init__ and add_request_handler for v2, decorator methods for v1), extract request context from the ServerRequestContext argument directly, and update tests to work with both SDK versions. Migration notes for MCP SDK v2 can be found here: - https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.0.0a1 - https://github.com/modelcontextprotocol/python-sdk/blob/main/docs/migration.md What this PR does not do: - address all breaking changes outlined in the migration guide. This is meant to fix the test failures on #6567 while still being comprehensive enough to make sense for the next developer who continues the migration. This was tested on the branch in #6567 to confirm it doesn't introduce regressions while addressing the v2 breaking change. Fixes PY-2532 Fixes #6574
ericapisani
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update our test matrix with new releases of integrated frameworks and libraries.
How it works
Action required
🤖 This PR was automatically created using a GitHub action.