Skip to content

Fix: add 11 missing write ops to exhaustive MCP bridge test#520

Merged
xiaolai merged 1 commit intomainfrom
fix/515-exhaustive-write-ops-test
Mar 23, 2026
Merged

Fix: add 11 missing write ops to exhaustive MCP bridge test#520
xiaolai merged 1 commit intomainfrom
fix/515-exhaustive-write-ops-test

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 23, 2026

Summary

  • Adds 11 missing write operations to the exhaustive_write_operations_not_read_only test in src-tauri/src/mcp_bridge/state.rs
  • Operations added: selection.delete, block.toggle, table.addRowBefore, table.addRowAfter, table.deleteRow, table.addColumnBefore, table.addColumnAfter, table.deleteColumn, table.toggleHeaderRow, smartInsert, insertMedia
  • These operations were defined in vmark-mcp-server/src/bridge/core-types.ts but missing from the regression test

Closes #515

Test plan

  • All 11 operations added to the write_ops array in the correct categories
  • cargo test --lib mcp_bridge::state::tests passes (requires sidecar binary)
  • No runtime behavior change — test-only fix

🤖 Generated with Claude Code

The exhaustive_write_operations_not_read_only test was missing 11 write
operations defined in core-types.ts, reducing its regression-prevention
value. Added: selection.delete, block.toggle, table.addRowBefore,
table.addRowAfter, table.deleteRow, table.addColumnBefore,
table.addColumnAfter, table.deleteColumn, table.toggleHeaderRow,
smartInsert, and insertMedia.

Closes #515

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude claude bot enabled auto-merge (squash) March 23, 2026 09:47
@xiaolai xiaolai merged commit 484dfd4 into main Mar 23, 2026
8 checks passed
@xiaolai xiaolai deleted the fix/515-exhaustive-write-ops-test branch March 23, 2026 12:04
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.

[audit] test-gap: 11 write operations missing from exhaustive MCP bridge read-only test

1 participant