Skip to content

ci: 🤖 Update test matrix with new releases (06/15)#6567

Merged
ericapisani merged 4 commits into
masterfrom
toxgen/update-06-15
Jun 17, 2026
Merged

ci: 🤖 Update test matrix with new releases (06/15)#6567
ericapisani merged 4 commits into
masterfrom
toxgen/update-06-15

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Update our test matrix with new releases of integrated frameworks and libraries.

How it works

  • Scan PyPI for all supported releases of all frameworks we have a dedicated test suite for.
  • Pick a representative sample of releases to run our test suite against. We always test the latest and oldest supported version.
  • Update tox.ini with the new releases.

Action required

  • If CI passes on this PR, it's safe to approve and merge. It means our integrations can handle new versions of frameworks that got pulled in.
  • If CI doesn't pass on this PR, this points to an incompatibility of either our integration or our test setup with a new version of a framework.

🤖 This PR was automatically created using a GitHub action.

@github-actions github-actions Bot requested a review from a team as a code owner June 15, 2026 05:08
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Codecov Results 📊

90783 passed | ⏭️ 6129 skipped | Total: 96912 | Pass Rate: 93.68% | Execution Time: 315m 46s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -201
Passed Tests 📉 -209
Failed Tests
Skipped Tests 📈 +8

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2417 uncovered lines.
✅ Project coverage is 89.82%. Comparing base (base) to head (head).

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       -10

Generated by Codecov Action

@ericapisani

Copy link
Copy Markdown
Member

Fix for the failing strawberry tests is here: #6572

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 ericapisani merged commit 3d2deca into master Jun 17, 2026
144 checks passed
@ericapisani ericapisani deleted the toxgen/update-06-15 branch June 17, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants