Closed
Labels
status/needs-triageNot yet triaged; needs a first lookNot yet triaged; needs a first look
Description
mcpx conformance: TestMessagesClient messages-resulttype-extension-values fails on clean main
Found 2026-10-30 by queue worker Lane A (task 3251) while verifying PR #2636 — proven pre-existing: the identical failure reproduces on a clean main checkout, so it is not caused by that PR.
Repro (on main, pkgs/mcpx):
go test ./internal/conformance/ -run 'TestMessagesClient' -count=1
--- FAIL: TestMessagesClient (1.00s)
--- FAIL: TestMessagesClient/2026-07-28/messages/messages-resulttype-extension-values (0.00s)
messages_test.go:822: declares extensions it does not handle: map[elicitation:map[form:map[]] extensions:map[] roots:map[]]
FAIL github.com/dezren39/mcpx/internal/conformance
The 2026-07-28 messages result-type row declares extensions (elicitation.form, extensions, roots) that the handler under test does not handle. Either the implementation needs to handle/declare these, or the conformance register row is stale and needs a truth-up (cf. the register truth-up family #2080).
Acceptance: the subtest passes on main (implementation handles the declared extensions, or the row/register is corrected with evidence), with no other conformance rows regressed.
Metadata
Metadata
Assignees
Labels
status/needs-triageNot yet triaged; needs a first lookNot yet triaged; needs a first look
Activity
dezren39 commentedon Oct 30, 2026
Resolved by PR #2675 (merged, 3bad045).
Disposition: the conformance guard was the stale side. Register CAP-11 (#1918) deliberately declares an empty
extensionsmap on modern (2026-07-28) connections only —internal/mcpclient/modern.godocuments it:{}declares support with no settings and names nothing; an identifier is added only when mcpx implements that extension. An empty map therefore advertises no extensionResultTypevalues, and the client owes none.Fix (test only): the client guard in
messages-resulttype-extension-valuesnow fails only when theextensionsmap is non-empty (named extensions it does not handle), with the CAP-11 exception named in a comment.Proof:
go test ./internal/conformance/ -count=1— full package ok (92s), no other rows regressed.