Skip to content

environmentd: Extend MCP datadriven tests for protocol and security edges#37635

Draft
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-tests-datadriven
Draft

environmentd: Extend MCP datadriven tests for protocol and security edges#37635
bobbyiliev wants to merge 1 commit into
MaterializeInc:mainfrom
bobbyiliev:mcp-tests-datadriven

Conversation

@bobbyiliev

@bobbyiliev bobbyiliev commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Adds datadriven coverage for MCP HTTP behaviors that had none: GET returns 405, a non-allowlisted Origin is rejected with 403, injection-shaped data product names and mz_unsafe references are rejected, empty/whitespace cluster_replica is caught, and responses over mcp_max_response_size error instead of returning an unbounded payload. The harness gained get and origin directive args to reach these paths. All expectations were generated with REWRITE and confirmed with a clean run (19 MCP tests pass).

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