You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Go SDK retry section: 429 quota wall and RateLimitError #971
The Go SDK's executeWithRetry does not wait through every Retry-After on a 429. When the requested wait is longer than RetryConfig.MaxBackoffSec (and MaxBackoffSec is greater than 0) the client treats it as a quota wall: it stops without retrying and returns a typed *sdk.RateLimitError carrying StatusCode, Message (the gateway's {"error": ...} message or the raw body) and RetryAfter.
Affected pages
sdks.md, "Retry and backoff" (Go SDK): the sentence "On a 429 the client honors the response's Retry-After header (seconds or an HTTP-date) instead of its computed backoff" is only true while that wait is at most MaxBackoffSec.
The same section has no mention of sdk.RateLimitError, so callers do not learn they can read RetryAfter via errors.As and schedule their own retry.
Qualified the Retry-After sentence: the header is honored only while the requested wait is at most MaxBackoffSec.
Added a "Rate limits and the quota wall" subsection documenting the stop-without-retrying behavior and the typed *sdk.RateLimitError (StatusCode, Message, RetryAfter), with an errors.As example so callers can schedule their own retry.
Skipped: no changes elsewhere - the TypeScript/Rust SDK sections do not describe this behavior, and RetryConfig table entries were already accurate.
Activity
edenreich commentedon Oct 4, 2026
@claude can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 4, 2026
Claude finished @edenreich's task in 1m 32s —— View job •
docs/issue-971-20261004-1230• Create PR ➔Done
sdks.md"Retry and backoff" (Go SDK)lint:md,format:check,buildall passChanges in
sdks.mdRetry-Aftersentence: the header is honored only while the requested wait is at mostMaxBackoffSec.*sdk.RateLimitError(StatusCode,Message,RetryAfter), with anerrors.Asexample so callers can schedule their own retry.Skipped: no changes elsewhere - the TypeScript/Rust SDK sections do not describe this behavior, and
RetryConfigtable entries were already accurate.| Branch
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀