Skip to content

Add bulk operations for batch context management#26

Merged
alex-feel merged 3 commits into
mainfrom
alex-feel-dev
Nov 30, 2025
Merged

Add bulk operations for batch context management#26
alex-feel merged 3 commits into
mainfrom
alex-feel-dev

Conversation

@alex-feel

Copy link
Copy Markdown
Owner

Implement store_context_batch, update_context_batch, and delete_context_batch MCP tools for efficient batch processing. Features atomic/non-atomic transaction modes, deduplication support, flexible delete criteria (by IDs, threads, source, age), and RFC 7396 metadata_patch in batch updates.

Implement store_context_batch, update_context_batch, and delete_context_batch MCP tools for efficient batch processing. Features atomic/non-atomic transaction modes, deduplication support, flexible delete criteria (by IDs, threads, source, age), and RFC 7396 metadata_patch in batch updates.
Add unit tests for store_context_batch, update_context_batch, and delete_context_batch including atomic/non-atomic modes, validation, error handling, and partial failure scenarios. Add real server integration tests to verify MCP protocol behavior.
@github-actions

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  app
  server.py 1890, 1953, 1978-1979, 1989-2009, 2013, 2077, 2081-2089, 2098, 2125-2127, 2176, 2209-2210, 2224-2249, 2253, 2322-2327, 2336-2344, 2348-2361, 2371-2372, 2400-2402, 2467-2476, 2507-2509
  types.py
  app/repositories
  context_repository.py 936-938, 1020-1022, 1029-1097, 1115-1246, 1299-1303, 1306, 1319-1358
Project Total  

This report was generated by python-coverage-comment-action

@alex-feel alex-feel merged commit e648c5f into main Nov 30, 2025
6 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch November 30, 2025 09:46
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