Skip to content

Fix MCP batch query accounting and validation - #2657

Merged
Widthdom merged 4 commits into
mainfrom
codex/fix-issue1838-1992-1994-2028
May 24, 2026
Merged

Fix MCP batch query accounting and validation#2657
Widthdom merged 4 commits into
mainfrom
codex/fix-issue1838-1992-1994-2028

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Added per-slot request_index and ok fields to MCP batch_query results.
  • Added submitted, executed, and errors batch metadata and updated summaries to distinguish submitted requests from actually processed slots.
  • Added MCP list validation for mixed invalid string-array entries and path/filter array bounds.
  • Documented the updated MCP response/input contracts and added bilingual changelog fragments.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~McpServerTests" -p:UseSharedCompilation=false
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • dotnet test CodeIndex.sln -c Release -p:UseSharedCompilation=false --no-build
  • Adversarial review: No blocking/actionable issues found.

Documentation and Changelog

  • Updated USER_GUIDE.md.
  • Updated DEVELOPER_GUIDE.md.
  • Added changelog fragments:
    • changelog.d/unreleased/1838.fixed.md
    • changelog.d/unreleased/1992.fixed.md
    • changelog.d/unreleased/1994.fixed.md
    • changelog.d/unreleased/2028.fixed.md

Follow-up candidates

  • None.

Fixes #1838
Fixes #1992
Fixes #1994
Fixes #2028

@Widthdom
Widthdom marked this pull request as ready for review May 24, 2026 16:27
@Widthdom
Widthdom merged commit df729bf into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1838-1992-1994-2028 branch May 24, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant