Skip to content

test: verify MCP request isolation and document tracing support - #2656

Open
erichare wants to merge 5 commits into
fix/mcp-command-validationfrom
fix/mcp-request-isolation
Open

erichare wants to merge 5 commits into
fix/mcp-command-validationfrom
fix/mcp-request-isolation

Conversation

@erichare

@erichare erichare commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does:

Tests two MCP calls completing in reverse order on the same worker. Each keeps its own request ID and cleanup callbacks, including when one subscription is canceled. The guide records which tracing features are available in the current build.

Which issue(s) this PR fixes:

Part of #2629. Distributed tracing and baggage limits remain open. Builds on #2655 and is the base for #2657. Full stack.

Verification

19 focused Java tests passed on JDK 25 at 2af3c5bc1. The concurrent request test checks each call’s result, callbacks, and final log record. GitHub checks.

./mvnw -o -B -ntp clean test \
  -DskipITs -Dfmt.skip=true -Dxml-format.skip=true -Dsurefire.failIfNoSpecifiedTests=false \
  -Dquarkus.http.test-port=19281 -Dtest=McpLoggingTest,McpResourceTest

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@erichare
erichare requested a review from a team as a code owner October 22, 2026 20:09
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

📈 Integration Test Coverage Delta vs Main Branch (dse69-it)

Metric Value
Main Branch 72.75%
This PR 72.84%
Delta 🟢 +0.09%
✅ Coverage improved!

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Integration Test Coverage Report (dse69-it)

Overall Project 72.84% 🍏

There is no coverage information present for the Files changed

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

📈 Integration Test Coverage Delta vs Main Branch (hcd-it)

Metric Value
Main Branch 74.21%
This PR 74.30%
Delta 🟢 +0.08%
✅ Coverage improved!

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Integration Test Coverage Report (hcd-it)

Overall Project 74.3% 🍏

There is no coverage information present for the Files changed

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

📈 Unit Test Coverage Delta vs Main Branch

Metric Value
Main Branch 57.12%
This PR 58.33%
Delta 🟢 +1.21%
✅ Coverage improved!

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Unit Test Coverage Report

Overall Project 58.33% 🍏

There is no coverage information present for the Files changed

@erichare
erichare removed this pull request from stack #2660 October 27, 2026 23:11
@erichare
erichare added this pull request to stack #2667 October 27, 2026 23:12
@erichare
erichare force-pushed the fix/mcp-request-isolation branch from a270ca0 to fc71518 Compare October 27, 2026 23:54
@erichare
erichare force-pushed the fix/mcp-request-isolation branch from fc71518 to e2afa1f Compare October 27, 2026 23:59
@erichare
erichare removed this pull request from stack #2667 November 5, 2026 19:26
@erichare
erichare force-pushed the fix/mcp-request-isolation branch from e2afa1f to b07ca8d Compare November 5, 2026 19:28
@erichare erichare changed the title Verify MCP request isolation and document tracing support test: verify MCP request isolation and document tracing support Nov 5, 2026
@erichare
erichare added this pull request to stack #2672 November 5, 2026 19:29
# Conflicts:
#	src/test/java/io/stargate/sgv2/jsonapi/api/v1/mcp/McpResourceTest.java
# Conflicts:
#	src/test/java/io/stargate/sgv2/jsonapi/api/v1/mcp/McpLoggingTest.java

This branch has not been deployed

No deployments
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.

1 participant