test(mcp): opt-in official conformance lane against a generated route server (#133) - #338
Merged
Merged
Conversation
Exercise generated MCP artifacts with the official active suite while keeping the costly networked lane off default CI paths.
🦋 Changeset detectedLatest commit: 907bfa9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Sep 2, 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.
Summary
The MCP conformance CI lane from #133: the OFFICIAL
@modelcontextprotocol/conformancesuite (exact pin 0.1.16),--suite active --spec-version 2025-11-25, run against a server generated by the real build pipeline.tests/support/mcp-conformance.ts) builds the existingroute-harnessfixture through the publicbuild()API, starts the generated stdio artifact untouched, and forwards raw JSON-RPC frames to the official SDK'sNodeStreamableHTTPServerTransport(loopback only, localhost host/origin validation, health check, bounded runner + teardown). Route registration, schemas, rendering, and responses are all the generated artifact's logic. Documented indocs/mcp-conformance.md.tests/fixtures/mcp-conformance-expected-failures.yml): three genuinely unsupported optional operation families (completion/complete,logging/setLevel, resourcesubscribe/unsubscribe) plus the canonicaltest_*content fixtures the reused harness does not provide. The official runner rejects stale baseline entries, so fixed scenarios must leave the baseline.MCP conformanceworkflow (mirrors the native-host-smoke posture),test:mcp-conformancescript env-gated withAGENT_BUNDLE_MCP_CONFORMANCE=1, excluded from every default Rstest pool; runner artifacts (checks.json) uploaded with 14-day retention;artifacts/gitignored.unavailableharness tool gains a description (manifest projection test updated).Changeset: minor,
agent-bundle.Test plan (all local, on the rebase over fb25f47)
pnpm buildpnpm typecheckpnpm lint— 0 errors, 0 warnings (1015 files)pnpm test:unit— 2615 passed, 0 failedpnpm test:mcp-conformance— real official-runner run passed with the counts aboveTracking