Repository navigation
Test MCP HTTP protocol fallback and cap inspect events - #78329
Conversation
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the MCP HTTP coverage and inspect-client event-size limit changes.
No open issues 🎉
What changed in this PR
This PR strengthens MCP HTTP coverage and explicitly configures the inspect client’s event-size limit, addressing two recommendations from #78314.
Changes:
- Extracts shared stateful HTTP handler setup for production and tests.
- Adds a regression test asserting negotiation to protocol version
2025-11-25. - Sets the inspect HTTP client’s event limit to
mcp.DefaultMaxEventSize.
| File | Description |
|---|---|
pkg/cli/mcp_server_http.go |
Extracts handler construction while preserving existing settings. |
pkg/cli/mcp_server_http_test.go |
Adds stateful HTTP protocol negotiation coverage. |
pkg/cli/mcp_inspect_mcp.go |
Explicitly sets the SDK’s default event-size limit. |
Review effort: Balanced (dynamic)
|
🎉 This pull request is included in a new release. Release: |
The MCP SDK review called for coverage of stateful HTTP protocol renegotiation and an explicit event-size limit in the inspect client.
2025-11-25.