Skip to content

fix(tier-check): swap server/client scenario lists in conformance reconciliation#263

Open
blackwell-systems wants to merge 1 commit intomodelcontextprotocol:mainfrom
blackwell-systems:fix/tier-check-scenario-swap
Open

fix(tier-check): swap server/client scenario lists in conformance reconciliation#263
blackwell-systems wants to merge 1 commit intomodelcontextprotocol:mainfrom
blackwell-systems:fix/tier-check-scenario-swap

Conversation

@blackwell-systems
Copy link
Copy Markdown

Summary

tier-check reports 0% server conformance even when all server tests pass because checkConformance (server check) reconciles results against the client scenario list, and checkClientConformance (client check) reconciles against the server scenario list.

Server scenario names (initialize, tools_call, etc.) have zero overlap with client scenario names (server-initialize, tools-list, etc.), so every passed scenario is counted as "missing."

Server scenarios: 26 names  (initialize, tools_call, ...)
Client scenarios: 31 names  (server-initialize, tools-list, ...)
Overlap: 0

Fix

Swap the scenario list functions so each check reconciles against its own scenario type:

  • checkConformance now uses listScenarios() / listScenariosForSpec() (server scenarios)
  • checkClientConformance now uses listActiveClientScenarios() / listClientScenariosForSpec() (client scenarios)

Fixes #182

…onciliation

checkConformance (server check) was reconciling results against the
client scenario list, and checkClientConformance (client check) was
reconciling against the server scenario list. Since server scenario
names (e.g. "initialize", "tools_call") have zero overlap with client
scenario names (e.g. "server-initialize", "tools-list"), every passed
scenario was counted as "missing" and tier-check reported 0%.

Swap the scenario list functions so each check reconciles against its
own scenario type.

Fixes modelcontextprotocol#182
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.

tier-check reports 0/30 server conformance despite all tests passing

1 participant