Harden HTTP MCP resource limits and log inputs - #3272
Merged
Conversation
…96-3178-3114 # Conflicts: # DEVELOPER_GUIDE.md # USER_GUIDE.md # src/CodeIndex/Cli/ProgramRunner.cs # src/CodeIndex/Mcp/HttpMcpTransport.cs
Widthdom
marked this pull request as ready for review
June 5, 2026 03:13
…96-3178-3114 # Conflicts: # DEVELOPER_GUIDE.md # USER_GUIDE.md # tests/CodeIndex.Tests/HttpMcpTransportTests.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/eventsstream concurrency, with capped configuration values and 429/Retry-After saturation responses.Validation
dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Debug -p:UseSharedCompilation=false --filter "FullyQualifiedName~HttpMcpTransportTests|FullyQualifiedName~TokenAuthenticator|FullyQualifiedName~ProgramCliTests.Mcp_HttpOversizedLimitEnvironmentReturnsUsageError"dotnet run --project tools/CodeIndex.Changelog -- checkdotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --jsondotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=falseNo blocking/actionable issues found.Scope Notes
origin/mainadvanced during review; the branch includes a merge oforigin/mainto preserve Enforce HTTP MCP limit caps #3264's HTTP limit caps.Fixes #3003
Fixes #3158
Fixes #3096
Fixes #3178
Fixes #3114