mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-01-30 06:22:04 +00:00
Updated test to reflect critical typeVersion validation fix from v2.17.4. ## Issue CI test failing: "should skip node repository lookup for langchain nodes" Expected getNode() NOT to be called for langchain nodes. ## Root Cause Test was written before v2.17.4 when langchain nodes completely bypassed validation. In v2.17.4, we fixed critical bug where langchain nodes with invalid typeVersion (e.g., 99999) passed validation but failed at runtime. ## Fix Updated test to reflect new correct behavior: - Langchain nodes SHOULD call getNode() for typeVersion validation - Prevents invalid typeVersion from bypassing validation - Parameter validation still skipped (handled by AI validators) ## Changes 1. Renamed test to clarify what it tests 2. Changed expectation: getNode() SHOULD be called 3. Check for no typeVersion errors (AI errors may exist) 4. Added new test for invalid typeVersion detection ## Impact - Zero breaking changes (only test update) - Validates v2.17.4 critical bug fix works correctly - Ensures langchain nodes don't bypass typeVersion validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>