Retry overloaded upstream before failing the turn

↗ view on GitHub · Eli Ziff · 2026-07-29 · a779ebb8

server_is_overloaded killed five benchmark turns today; the Responses
transport now retries an attempt up to twice with linear backoff, but
only while nothing from that attempt has reached the caller - a replay
after emitted deltas or tool-call starts would duplicate output. The
persistent-thread response id rolls back to its pre-attempt checkpoint
on retry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents f0caf4e3
Stats 1 file changed , +136 , -96
Part of Codex integration and hardening

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-a779ebb8.md from inside the repo you want the change in.

⬇ Download capture-commit-a779ebb8.md