Skip to content

test(transport): preserve validation details over HTTP - #23

Merged
pnocera merged 1 commit into
mainfrom
test/issue-21-http-validation-error-data
Aug 22, 2026
Merged

test(transport): preserve validation details over HTTP#23
pnocera merged 1 commit into
mainfrom
test/issue-21-http-validation-error-data

Conversation

@pnocera

@pnocera pnocera commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a wire-level regression test for #21. It proves that an unknown description tool argument remains an MCP InvalidParams (-32602) response with actionable validation data over POST /message, and that no BookStack request is made.

The transport suite now pins strict validation so an ambient .env cannot silently make this contract permissive.

Relates to #21; this does not close it automatically because the reported generic UI behavior is downstream of this server boundary.

Validation

  • bunx biome check tests/transport/tools.test.ts
  • bun run typecheck
  • bun test tests/transport/tools.test.ts --test-name-pattern="returns an unknown argument in JSON-RPC validation data"
  • Claude implementation review: VERDICT: GO

@pnocera
pnocera merged commit 5141811 into main Aug 22, 2026
2 checks passed
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.

1 participant