Skip to content

fix: preserve MCP probe opportunities during backoff - #564

Merged
GraciousGazelles merged 1 commit into
mainfrom
fix/mcp-backoff-review-20260731
Jul 31, 2026
Merged

GraciousGazelles merged 1 commit into
mainfrom
fix/mcp-backoff-review-20260731

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Current-base follow-up to merged #554.

Do not consume a turn liveness-probe opportunity when the bounded retry window has not expired. Adds regression coverage for a later step in the same turn probing after backoff while still allowing only one successful probe.

This addresses the review feedback carried from the superseded #562/#563 replacement attempts.

@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 refactors the liveness probing logic in McpRefresh to ensure that state.last_turn_id is only updated when a probe is actually allowed (i.e., after the retry backoff period has elapsed). It also updates the corresponding unit tests to verify this behavior. There are no review comments, so I have no feedback to provide.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Jul 31, 2026
Merged via the queue into main with commit 438bbb8 Jul 31, 2026
75 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/mcp-backoff-review-20260731 branch July 31, 2026 14:50
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