Skip to content

Live smoke: expect serialized JSON in MCP checkout content - #57

Merged
mekedron merged 1 commit into
mainfrom
fix/mcp-checkout-smoke-content
Oct 17, 2026
Merged

mekedron merged 1 commit into
mainfrom
fix/mcp-checkout-smoke-content

Conversation

@mekedron

Copy link
Copy Markdown
Owner

Summary

The daily live smoke test failed on 2026-10-17 at the MCP checkout preview step. Wolt did not change anything. Since v2.5.0 the MCP server puts the full JSON result into the text part of every successful answer (#55). The smoke checker still expected only a short summary there, so it treated the correct answer as a failure.

This change updates only the smoke checker. A successful checkout preview must now carry the same JSON in the text part as in the structured part. Checkout errors such as "item unavailable" still carry a short message, as before. The shipped wolt and wolt-mcp programs do not change.

Nothing needed from you.

Details

  • scripts/mcp-checkout-smoke: validateContent decodes the text content and compares it with structuredContent; typed errors (IsError with structured data) must still carry the summary.
  • Unit tests cover serialized content, summary-only content (rejected) and mismatched JSON (rejected).

Fixes #56

The daily live smoke failed on 2026-10-17 at "mcp checkout preview"
with "content is not the structured summary". Wolt did not change
anything: since v2.5.0 wolt-mcp serializes the full structured result
into content by default (PR #55), while mcp-checkout-smoke still
asserted the old compact contract and rejected the JSON copy.

The checker now asserts the current contract. A successful preview
must carry content that decodes to the same JSON as structuredContent.
A typed checkout outcome (IsError with structured data) keeps the
handler's short summary in content, as before.

Fixes #56
@mekedron
mekedron merged commit dbb1952 into main Oct 17, 2026
4 checks passed
@mekedron
mekedron deleted the fix/mcp-checkout-smoke-content branch October 17, 2026 11:41
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.

Live smoke failing — first observed 2026-10-17

1 participant