v2 ci: add Bun and Deno integration tests#1607
Open
KKonstantinov wants to merge 4 commits intomodelcontextprotocol:mainfrom
Open
v2 ci: add Bun and Deno integration tests#1607KKonstantinov wants to merge 4 commits intomodelcontextprotocol:mainfrom
v2 ci: add Bun and Deno integration tests#1607KKonstantinov wants to merge 4 commits intomodelcontextprotocol:mainfrom
Conversation
Add integration tests that run MCP server/client round-trips natively on Bun and Deno using their respective test runners, verifying the SDK works across runtimes beyond Node.js. - Add bun.test.ts using bun:test + Bun.serve() - Add deno.test.ts using Deno.test + Deno.serve() + node:assert - Add deno.json with nodeModulesDir: "manual" for pnpm compatibility - Add test-runtimes CI job (Bun 1.x + Deno v2.x matrix) - Gate publish job on test-runtimes passing - Exclude runtime-specific tests from vitest and tsconfig Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@modelcontextprotocol/client
@modelcontextprotocol/server
@modelcontextprotocol/express
@modelcontextprotocol/hono
@modelcontextprotocol/node
commit: |
Fix import sorting, suppress bun:test unresolved import, and apply Prettier formatting to integration test files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Deno v2.x auto-detects package.json and node_modules without needing explicit nodeModulesDir configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v2 ci: add Bun and Deno integration tests
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.
Add integration tests that run MCP server/client round-trips natively on Bun and Deno using their respective test runners, verifying the SDK works across runtimes beyond Node.js.
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context