Files
Benoît Cortier 00f9704cf8 ci(pr-automation): retry provider error events in streams (#2192)
Specialist reviews kept ending as "provider request failed", leaving
pull requests labeled automation-failed. The provider occasionally
reports a failure as an error event inside an HTTP 200 stream. The
OpenAI SDK raises that as an APIError without a status, which fell
through to the non-retryable default classification, so one transient
provider hiccup discarded the whole reviewer stage.

A status-less APIError is now a transient provider-response failure
retried within the existing request-retry budget, like a malformed
stream. An error event carrying a known quota code stays permanent.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 16:09:04 -04:00
..