Repository navigation
Conversation
With an EventStore configured, every modern listen started a persistence task that never ended on disconnect. The handler was not cancelled and notifications continued to append to the store indefinitely. Bind modern subscriptions/listen to the POST response stream: do not persist or prime it, omit SSE IDs, and cancel the handler on disconnect. Drop correlated server notifications before transport handoff when their request is no longer active. Refs: modelcontextprotocol#1488
Dropping an opening listen while the outbound queue was full left its notification route registered without a request handle. The shared send path could also strand a progress-timeout watcher. Reserve queue capacity before registering either route, then enqueue without yielding. Dropping an active listen could silently lose its cancellation notification when the same queue was full, leaving the stdio handler running. Keep the synchronous fast path and retry a full enqueue on the service runtime. A closed queue needs no retry. Refs: modelcontextprotocol#1488
Shared seams: server handler discovery and custom dispatch, the core listen filter and client acceptance, custom-message Debug, and Streamable HTTP routing headers. Existing server capabilities and custom dispatch do not change unless events() returns Some; the client opts in explicitly. Refs: modelcontextprotocol#1488
Shared seams: the Events registry, descriptor hooks and one-shot poll dispatch from PR 2a. No extra core or transport seams change. Nothing in existing server dispatch changes unless events() returns Some. Refs: modelcontextprotocol#1488
Add the non-default `events` feature to the crate feature table. Refs: modelcontextprotocol#1488
Keep the synchronous send fast path and drain deferred cancellations in order from the service loop instead of spawning a task per cancellation. Log closed-service drops and identify fenced subscription frames by request ID without changing how their producers are acknowledged. Refs: modelcontextprotocol#1488
Serve connection-bound Events streams with ordered delivery, replay, and heartbeat checkpoints. Expose one managed subscription stream for push and polling. SDK-owned Events streams bypass HTTP EventStore replay and return pre-activation errors as JSON. Refs: modelcontextprotocol#1488
Add signed webhook grants and verify callback consent before dispatch. Provide an inbound verifier and client methods to create, refresh, and cancel grants. Refs: modelcontextprotocol#1488
Use shared routing and request handling, and return the catalog in one page. Remove payload transforms and normalization, client deduplication, and redundant stream budgets and state. Refs: modelcontextprotocol#1488
Owner
Author
|
Closing; fork workflows are disabled. |
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.
Fork-only CI run for modelcontextprotocol#1489. Not for merge.