Repository navigation
fix(mcp): preserve native transports and propagation lifecycle - #311
Merged
Merged
Conversation
Prepare traceAI-mcp 0.1.3 with caller-owned metadata isolation, teardown and reinstall safety, native transport regression coverage, and the resolved MCP CI exception removed. Co-Authored-By: Claude Code <noreply@anthropic.com>
Reuse same-owner reader and writer proxies when legacy HTTP aliases delegate. Cover both entry points, tuple arities, propagation counts, teardown, and foreign lifecycle ownership. Co-Authored-By: Claude Code <noreply@anthropic.com>
Resolve test_framework_mcp.py in favor of this PR's metadata-matched dependency assertion (MCP floor 1.8.1), and keep every known-broken entry that neither side removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nik13
added a commit
that referenced
this pull request
Oct 31, 2026
Resolve against core 1.2.2 (#313), MCP 0.1.3 (#311) and Vertex AI (#312): - version.py: keep 1.2.2 with the x-release-please-version marker. - mcp CHANGELOG: keep the real 0.1.3 fixes from #311 instead of the bootstrap placeholder for the same version. - vertexai CHANGELOG: record #312's fixes under the 0.1.11 release. - manifest: python (fi-instrumentation-otel) 1.2.1 -> 1.2.2 to match. release_plan.py --check and bootstrap_audit.py --check pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Prepare
traceAI-mcp0.1.3 with the reviewed MCP 1.x/2.x transport and propagation-lifecycle repairs.Validation
Python 3.11.12. All test processes use scrubbed environments and an OS sandbox denying outbound network except localhost; no vendor calls or registry publication.
fi-instrumentation-otel==1.1.0: 47 passed in each of six cells (mcp==1.8.1,1.26.0,2.3.0). Floor cell pins Pydantic 2.11.10 and emits an upstream lifespan forward-reference warning. Dependency checks pass in all cells.git diff --checkpasses.Native exchange tests cover stdio requests/concurrency, caller-message reuse, null metadata, transport failure values, pending imports, retained foreign wrappers and local streamable HTTP lifecycle. MCP 2.x native OTel remains independent; disabling this instrumentor does not disable native SDK tracing.
Provenance and overlap
jjcav84(commit05f52445a3a6cb260f51d28a8b7117631ae03615), with expanded lifecycle and native transport coverage.Targets
dev; no other PR head branch is changed and no merge is performed.🤖 Generated with Claude Code