Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test(fastmcp): Ensure MCP spans are children of HTTP transactions#5296

Closed
alexander-alderman-webb wants to merge 8 commits into
webb/mcp-in-httpgetsentry/sentry-python:webb/mcp-in-httpfrom
webb/fastmcp-testsgetsentry/sentry-python:webb/fastmcp-testsCopy head branch name to clipboard
Closed

test(fastmcp): Ensure MCP spans are children of HTTP transactions#5296
alexander-alderman-webb wants to merge 8 commits into
webb/mcp-in-httpgetsentry/sentry-python:webb/mcp-in-httpfrom
webb/fastmcp-testsgetsentry/sentry-python:webb/fastmcp-testsCopy head branch name to clipboard

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Description

Update FastMCP tests to use Starlette's TestClient to validate that MCP spans are created as children of HTTP transactions when using the Streamable HTTP transport.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title fix(mcp): Nest MCP spans under HTTP transactions test(fastmcp): Ensure MCP spans are children of HTTP transactions Jan 12, 2026
@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review January 12, 2026 15:03
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner January 12, 2026 15:03
Comment thread tests/conftest.py
Comment thread tests/integrations/fastmcp/test_fastmcp.py
Comment thread tests/integrations/fastmcp/test_fastmcp.py
@alexander-alderman-webb

Copy link
Copy Markdown
Contributor Author

Replaced by #5384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.