Repository navigation
Conversation
A thin driver the conformance runner launches with --command for modelcontextprotocol/conformance#540. It checks the capability, lists, and subscribes in the mode each descriptor names using only what this SDK offers, so a red check is a finding about the SDK. Lives in the events client module rather than cmd/testclient so the root module does not depend on experimental/.
Poll runs an events/poll loop for one subscription, as the spec's SDK
guidance asks ("the caller does not implement or manage the polling
loop"). It drains at once while hasMore is true, otherwise waits
nextPollMs but never less than a configurable floor (default 1s),
adopts the fresh cursor that comes with truncated: true, and treats a
null or absent cursor as nothing to persist rather than inventing one.
A list_changed notification on a poll response reaches OnListChanged;
re-listing is left to the caller, since the SDK holds no registry.
The conformance driver now uses it. events-client-poll from
modelcontextprotocol/conformance#540 goes from 0/7 (all untestable) to
7/7 on both the 2025-11-25 and 2026-07-28 lifecycles.
Events README lists the Go client's Poll and Stream alongside Subscribe and points at the conformance driver. CLAUDE.md records the client-side conformance suite (conformance PR 541) and corrects the server suite's upstream PR from 504, which was closed, to 521.
This branch has not been deployed
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.
Three commits from 2026-10-02 to 10-05 that were only local:
experimental/ext/events/clients/go/poll.go(+poll_test.go): the client-side poll loop;clients/go/cmd/conformance-client: a driver for theevents-client-*conformance scenarios (the upstream scenarios are feat(events): client conformance scenarios (#540) modelcontextprotocol/conformance#541);The branch already sits on current
main.go vetandgo test ./...pass inexperimental/ext/events/clients/go.