Skip to content

Add bounded agent-step recovery retries - #1123

Closed
viniciusdebruin wants to merge 8806 commits into
CodebuffAI:mainfrom
viniciusdebruin:contrib/engine-recovery
Closed

viniciusdebruin wants to merge 8806 commits into
CodebuffAI:mainfrom
viniciusdebruin:contrib/engine-recovery

Conversation

@viniciusdebruin

Copy link
Copy Markdown

Summary

  • add a bounded outer recovery retry for transient agent-step failures
  • cover network errors, idle timeouts, rate limits, and server 5xx responses
  • preserve the same run/history while emitting recovery metadata and a recovery message
  • skip retries for aborts, authentication failures, and client 4xx errors

Validation

  • 156 focused runtime tests passing
  • typecheck reaches unrelated pre-existing missing researcher imports in read-docs-tool.test.ts and web-search-tool.test.ts

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

Labels

bot:triaged Classified by the community triage bot pr:port-candidate Worth porting into the private source tree

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants