Skip to content

fix(mcp): recover catalogue after rate limits - #567

Merged
GraciousGazelles merged 1 commit into
mainfrom
fix/mcp-429-catalogue-recovery
Jul 31, 2026
Merged

GraciousGazelles merged 1 commit into
mainfrom
fix/mcp-429-catalogue-recovery

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • preserve HTTP status and Retry-After metadata at the streamable HTTP MCP adapter boundary
  • apply a server-directed delay to the existing bounded idempotent catalogue retry path
  • keep tool calls non-retrying and prove same-session catalogue recovery after a 429

Validation

Hosted validation is required for the Rust MCP client and integration tests; no local build or test was run.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the sub-agent protocol schemas, event mappings, and TUI components to track and display the effective model and reasoning effort of child threads. It also adds support for honoring the Retry-After header during rate-limiting (HTTP 429) in the RMCP client, and introduces a searchable hidden rows feature in the TUI's list selection view to hide inactive sub-agents by default. The review feedback highlights several areas for improvement: expanding Retry-After parsing to support HTTP-date formats, honoring Retry-After for 503 Service Unavailable responses, resolving a potential UI bug where stale reasoning efforts are preserved when switching to non-reasoning models, and optimizing the TUI event loop by resolving thread usage queries concurrently rather than sequentially.

@GraciousGazelles
GraciousGazelles force-pushed the fix/mcp-429-catalogue-recovery branch from 14a01df to 1652f4a Compare July 31, 2026 14:22
@GraciousGazelles
GraciousGazelles force-pushed the fix/mcp-429-catalogue-recovery branch from 025b69a to abeee36 Compare July 31, 2026 16:59
@GraciousGazelles
GraciousGazelles marked this pull request as ready for review July 31, 2026 16:59
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit e16f2f6 Jul 31, 2026
137 of 141 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/mcp-429-catalogue-recovery branch July 31, 2026 19:32
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