CI does not smoke-test client CLI path; everything-client drift on elicitation-sep1034-client-defaults and sse-retry
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 65/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- node.js, typescript
Direzione di ricerca
Inizia con npm ci && npm run build, quindi esegui i comandi client documentati per elicitation-sep1034-client-defaults, sse-retry e --suite core. Esamina examples/clients/typescript/everything-client.ts insieme ai controlli degli scenari e alle indicazioni di AGENTS.md. Il lavoro è completato quando entrambi gli handler superano i test e CI esegue uno smoke test del comando client esistente per la suite core.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
CI runs npm test (vitest) but never exercises the documented client-mode CLI path (node dist/index.js client --command "…"). Regressions in the bundled reference client (examples/clients/typescript/everything-client.ts) are therefore not caught until someone runs that path manually against the in-repo fixture (README.md, CONTRIBUTING.md). SDK_INTEGRATION.md documents the same CLI for external SDK conformance clients; it does not validate the in-repo everything-client, so following it would not catch this drift either.
Two concrete examples in the --suite core scenarios on current main:
elicitation-sep1034-client-defaults— the handler is registered under the wrong name (elicitation-defaults), and the client advertiseselicitation.applyDefaultsinstead ofelicitation.form.applyDefaults(required by@modelcontextprotocol/sdk1.29+ for default merging).sse-retry— no handler is registered in everything-client, even though the scenario is in the core suite.
The scenario implementations and checks appear correct; upstream typescript-sdk's conformance client already registers both handlers with the correct names and capability shapes.
To Reproduce
npm ci && npm run build- Elicitation drift:
node dist/index.js client \
--command "npx tsx examples/clients/typescript/everything-client.ts" \
--scenario elicitation-sep1034-client-defaults
- SSE retry missing handler:
node dist/index.js client \
--command "npx tsx examples/clients/typescript/everything-client.ts" \
--scenario sse-retry
- Full core suite (both failures, among others):
node dist/index.js client \
--command "npx tsx examples/clients/typescript/everything-client.ts" \
--suite core
Expected behavior
The bundled everything-client should register elicitation-sep1034-client-defaults (with elicitation.form.applyDefaults: true) and sse-retry, matching AGENTS.md guidance to extend the everything-client for passing examples.
CI should smoke-test the documented client CLI path (at least --suite core) so reference-client drift is caught automatically — reusing the existing client command (AGENTS.md: no parallel test runner).
Logs
Elicitation — client subprocess exits before connecting:
Unknown scenario: elicitation-sep1034-client-defaults
(If the handler were registered under the old name elicitation-defaults instead, elicitation checks fail because defaults are not applied.)
SSE retry:
Unknown scenario: sse-retry
Core suite summary (representative):
✗ elicitation-sep1034-client-defaults: 0 passed, 5 failed
✗ sse-retry: 0 passed, 1 failed
Total: 238 passed, 6 failed, 0 warnings
Compare with typescript-sdk main (both scenarios pass):
npm start -- sdk typescript-sdk --mode client --scenario elicitation-sep1034-client-defaults
npm start -- sdk typescript-sdk --mode client --scenario sse-retry
Additional context
- Related (not in scope for this issue): #250 proposes eventually removing vendored
examples/{clients,servers}/typescript/and running CI viasdk typescript-sdk@<pinned-sha>instead. That is not implemented today; this issue covers the incremental fix for the current documented workflow. - Proposed fix (for discussion): add an npm script + CI step running
--suite corevia the existingclientsubcommand; aligneverything-client.tswith upstream typescript-sdk for both handlers above.
- Lingua principale
- TypeScript
- Stelle
- 127
- Fork
- 107
- Merge medio
- 2g 22h
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di modelcontextprotocol/conformance
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
modelcontextprotocol/conformance#531 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
modelcontextprotocol/conformance#530 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/conformance#519 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
modelcontextprotocol/conformance#315 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
modelcontextprotocol/conformance#312 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di modelcontextprotocol/conformance
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
microsoft/vscode-livepreview#876 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
JustJarethB/invoicer#54 ·
-
ICP 1.2.0 shows a scheduled task's interval in milliseconds under the label "Interval (In seconds)"ApertaNeeds Triage Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/product-integrator#2585 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Telemundo West sdApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
design
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
MTES-MCT/monitor-field#119 ·
I maintainer di solito rispondono entro 1 giorno