Skip to content

feat: 5xx retry с exponential backoff и jitter#185

Merged
aenadgrleey merged 3 commits intomainfrom
5xx-retries
Mar 27, 2026
Merged

feat: 5xx retry с exponential backoff и jitter#185
aenadgrleey merged 3 commits intomainfrom
5xx-retries

Conversation

@aenadgrleey
Copy link
Copy Markdown
Contributor

Summary

  • Добавлен retry для 5xx ошибок (500, 502, 503, 504) во все 6 SDK
  • Exponential backoff: 10s → 20s → 40s
  • Jitter для предотвращения thundering herd
  • Не ретраим 501 (Not Implemented) — это не временная ошибка

Test plan

  • Generator tests pass (npm test)
  • Snapshots regenerated
  • SDKs regenerated

🤖 Generated with Claude Code

aenadgrleey and others added 3 commits March 27, 2026 10:17
- Новая страница /guides/sdk/csharp с полным описанием SDK
- Обновлены компоненты для поддержки языка csharp
- Добавлен C# в таблицы сравнения и навигацию
- Обновлены README и LLM-файлы (5→6 языков)
- Добавлена запись в changelog

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Добавлено описание retry для 5xx ошибок
- Исправлен якорь #c# → #csharp
- Переименовано C# → CSharp для корректных URL-анкоров

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Retry на 500, 502, 503, 504 (не 501 - Not Implemented)
- Exponential backoff: 10s, 20s, 40s (10 * 2^attempt)
- Jitter: delay * (0.5 + random * 0.5)
- Обновлены все 6 SDK: TypeScript, Python, C#, Kotlin, Go, Swift
@aenadgrleey aenadgrleey merged commit a15ad39 into main Mar 27, 2026
9 checks passed
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.

1 participant