Skip to content

Fix 4 MCP registration-coverage test failures#404

Merged
jjackson merged 1 commit into
mainfrom
emdash/mcp-snapshot-fix-38965
May 22, 2026
Merged

Fix 4 MCP registration-coverage test failures#404
jjackson merged 1 commit into
mainfrom
emdash/mcp-snapshot-fix-38965

Conversation

@jjackson
Copy link
Copy Markdown
Owner

Summary

Clean up pre-existing failures in test/mcp/registration-coverage.test.ts. Snapshot counts had drifted as atoms were added to connect/ocs/google-drive servers, and 5 OCS authoring atoms were registered on the server but missing from mcp/ocs/capability-map.ts — breaking the orphan-atom invariant.

What changed

Snapshot bumps in test/mcp/registration-coverage.test.ts:

  • connect: 30 → 47
  • ocs: 27 → 32
  • google-drive: 31 → 32

5 orphan OCS atoms added to capability-map under Authoring (all PLAYWRIGHT backend):

  • create_chatbot — CSRF-protected ChatbotForm
  • link_action_to_node — appends to pipeline node's data.params.custom_actions
  • add_custom_action — CSRF-protected CustomActionForm
  • add_chatbot_event — CSRF-protected combined-form view for timeout triggers
  • add_pipeline_node — GET-mutate-POST pipeline JSON

Version bookkeeping. VERSION jumps 0.13.328 → 0.13.330 to resolve a race from PR #402: that PR's CHANGELOG header announced 0.13.329 but its merged commit retained VERSION=0.13.328 (a rebased pre-amend version), leaving main with the two out of sync. This PR realigns them and adds the ## 0.13.330 MCP-fix section.

Test plan

  • npm test — 1314/1314 passing locally (was 1310/1314).
  • CI's clean-install check

🤖 Generated with Claude Code

…han OCS atoms

The registration-coverage snapshot test had drifted: atoms were added to
the connect, ocs, and google-drive MCP servers without updating the
expected-count snapshots, and 5 newer OCS authoring atoms (create_chatbot,
link_action_to_node, add_custom_action, add_chatbot_event,
add_pipeline_node) were registered on the server but missing from
mcp/ocs/capability-map.ts, breaking the "every prefixed server tool has
a capability-map entry (no orphan atoms)" invariant.

Snapshot bumps: connect 30 -> 47, ocs 27 -> 32, google-drive 31 -> 32.
Added the 5 orphan atoms to the OCS capability-map under the Authoring
section with PLAYWRIGHT backend annotations describing their
CSRF-protected form views (none yet exposed as first-class REST endpoints).

Suite now 1314/1314 passing.

VERSION jumps 0.13.328 -> 0.13.330 to resolve a bookkeeping race: PR #402's
CHANGELOG section header announced 0.13.329 but its merged commit retained
VERSION=0.13.328 (the rebased pre-amend version), leaving main with
CHANGELOG and VERSION out of sync. This PR realigns them.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jjackson jjackson enabled auto-merge May 22, 2026 08:38
@jjackson jjackson merged commit 5a1be16 into main May 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