Skip to content

fix(app): add retry to MCP queries during bootstrap - #41650

Closed
lzwind wants to merge 1 commit into
anomalyco:devfrom
lzwind:bootstrap-network-retry
Closed

fix(app): add retry to MCP queries during bootstrap#41650
lzwind wants to merge 1 commit into
anomalyco:devfrom
lzwind:bootstrap-network-retry

Conversation

@lzwind

Copy link
Copy Markdown

Summary

  • MCP server list and resource catalog queries during instance bootstrap had no retry logic
  • Transient network failures caused bootstrap to terminate incompletely, leaving MCP tools unregistered
  • Wrap both queries in the existing retry utility which handles common transient error messages (ECONNRESET, ECONNREFUSED, ETIMEDOUT, "failed to fetch", etc.)

Fixes#32379

MCP server list and resource catalog queries during instance bootstrap
had no retry logic. Transient network failures (WiFi reconnect, VPN switch,
wake-from-sleep) caused bootstrap to terminate incompletely, leaving
MCP tools unregistered. Wrap both queries in the existing retry
utility which handles common transient error messages.
Fixesanomalyco#32379
@github-actionsgithub-actionsBot added the needs:compliance This means the issue will auto-close after 2 hours. label Aug 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:complianceThis means the issue will auto-close after 2 hours.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Built-in tools (context7, grep_app, ast_grep) fail to register on startup due to bootstrap network race

1 participant

@lzwind