Skip to content

Retry transient Orbit Assistant MCP initialization - #156

Merged
insighta-cloud merged 1 commit into
mainfrom
feat/assistant-mcp-connection-resilience
Sep 26, 2026
Merged

insighta-cloud merged 1 commit into
mainfrom
feat/assistant-mcp-connection-resilience

Conversation

@forthfate

Copy link
Copy Markdown
Owner

Summary

  • track each Assistant turn’s MCP connection state
  • retry transient initialization and tools-list failures with bounded exponential backoff
  • cache successfully discovered MCP tools for the turn
  • avoid retrying tool calls, which could duplicate state-changing actions

Verification

  • PYTHONPATH=/home/forth/projects/orbit/backend .venv/bin/python -m pytest backend/tests/test_assistant_graph.py backend/tests/test_api.py -q
  • 115 passed

@insighta-cloud
insighta-cloud self-requested a review September 26, 2026 10:02

@insighta-cloud insighta-cloud left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No issues found.

@insighta-cloud
insighta-cloud merged commit e888709 into main Sep 26, 2026
2 checks passed
@insighta-cloud
insighta-cloud deleted the feat/assistant-mcp-connection-resilience branch September 26, 2026 10:06
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