Skip to content

Upgrade MCP crate & other fixes - #225

Merged
blind-oracle merged 2 commits into
mainfrom
igor/update-mcp
Sep 2, 2026
Merged

blind-oracle merged 2 commits into
mainfrom
igor/update-mcp

Conversation

@blind-oracle

Copy link
Copy Markdown
Collaborator
  • 0.3.0 imcp2 & a few other crates
  • MCP redirect now preserves path & query
  • Call MCP's Metrics::refresh() every 5s
  • Fix unrelated unused imports in SEV

@blind-oracle
blind-oracle requested a review from a team as a code owner September 2, 2026 07:00
@zeropath-ai

zeropath-ai Bot commented Sep 2, 2026

Copy link
Copy Markdown

No security or compliance issues detected. Reviewed everything up to 2a4ed80.

Security Overview
Detected Code Changes
Change Type Relevant files
Enhancement ► Cargo.lock
    Update dependency versions and checksums (e.g., aws-lc-rs, aws-lc-sys, imcp2, libredox, tower-http, smallvec, etc.)
Enhancement ► Cargo.toml
    imcp2 updated to version 0.3
Enhancement ► src/mcp.rs
    Add MetricsWrapper with periodic refresh; adjust mcp_redirect_url handling to trim trailing slash; add MCP metrics refresh task; modify redirect fallback to preserve original request path/query in redirect URL
Enhancement ► src/mcp.rs
    Add interval task for "mcp-metrics-refresh"
Enhancement ► src/routing/mod.rs
    Inline rate limiter bypasser implementation under sev_snp feature gate; replace explicit RateLimitBypasser type usage with in-place definition and wiring
Enhancement ► src/routing/mod.rs
    Modify conditional compilation path to include new rate limiter bypasser logic when sev_snp is enabled
Enhancement ► src/routing/mod.rs
    Adjust tests for MCP redirect behavior to verify path and query preservation in redirects; add new test scenarios for trailing slash handling on root-redirect

@blind-oracle
blind-oracle merged commit c581a4b into main Sep 2, 2026
6 checks passed
@blind-oracle
blind-oracle deleted the igor/update-mcp branch September 2, 2026 08:23
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.

2 participants