Skip to content

feat: Add MCP protocol regression tests#175

Open
caballeto wants to merge 1 commit intofirecrawl:mainfrom
caballeto:add-snapshot-regression-tests
Open

feat: Add MCP protocol regression tests#175
caballeto wants to merge 1 commit intofirecrawl:mainfrom
caballeto:add-snapshot-regression-tests

Conversation

@caballeto
Copy link
Copy Markdown

Problem

No regression tests exist - CI only runs pnpm build. When schemas or tools change, tool calls can break silently.

Solution

Adds snapshot-based regression tests that verify the MCP protocol surface - handshake, tool schemas, and error handling on every PR. Any change to a tool name, parameter type, or schema shows up as a diff in CI.

Zero changes to existing files. Adds a standalone integration.yml workflow.

Uses mcp-recorder for recording and verification. No Firecrawl API key needed in CI, the server runs with a dummy key.

Updating cassettes after intentional changes: mcp-recorder verify --cassette ... --target ... --update

Test plan

  • Verified locally — 4/4 interactions pass
  • CI workflow runs on this PR

@caballeto caballeto changed the title Add MCP protocol regression tests feat: Add MCP protocol regression tests Mar 2, 2026
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