Skip to content

Fix streamable MCP POST heartbeat#3212

Open
hengyunabc wants to merge 3 commits into
alibaba:masterfrom
hengyunabc:codex/mcp-post-sse-heartbeat
Open

Fix streamable MCP POST heartbeat#3212
hengyunabc wants to merge 3 commits into
alibaba:masterfrom
hengyunabc:codex/mcp-post-sse-heartbeat

Conversation

@hengyunabc

Copy link
Copy Markdown
Collaborator

Summary

  • add SSE comment heartbeat to streamable HTTP POST response transports while a request is pending
  • keep the existing session-level JSON-RPC ping unchanged
  • add an EmbeddedChannel test that verifies pending tools/call responses emit : keepalive chunks

Verification

mvn -pl arthas-mcp-server test

Result: 14 tests passed.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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