[FEATURE]: Opt-in retry for `send()`
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 76/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with RelayClient.request() in src/client.ts and trace how send() selects maxRetries and applies retry/backoff rules. Add tests for retrying on 503 and timeout, immediate failure on 401, 413, and 429, and retries being off by default. Update the README retries row and send() section; done when these cases and the documented opt-in behavior are covered.
索引モデルが issue の本文から書いたものです。
説明
Feature and its Use Cases
send() never retries: request() hard-codes maxRetries = 0 for POST, even though the README says retries covers network errors/5xx and that identical sends are idempotent on Server 1.0+.
Add retrySend?: boolean to ClientOptions (default false). When enabled, send() uses the existing retries and backoff on 5xx and network/timeout errors only. 401, 413 and 429 still fail immediately.
Opt-in because pre-1.0 servers use random UUIDs, so a retry could create duplicates.
Useful for flaky mobile networks and proxies that return occasional 502/503.
Additional Context
- Code:
RelayClient.request()insrc/client.ts - Needs tests for retry on 503 and timeout, no retry on 401/413/429, and the default-off case
- Update the README
retriesrow and thesend()section - No new dependencies
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- YAML
- スター
- 2
- フォーク
- 2
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/ThruBox-Client のほかの issue
-
bug(client): RelayRateLimitError.retryAfter is negative when server sends Retry-After: -5再び着手できるかも @ayushjava07 が 13 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
AOSSIE-Org/ThruBox-Client#75 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: Response body parsing errors on HTTP 2xx are retried and misclassified as RelayNetworkError対応中かも @raus7n が 6 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
AOSSIE-Org/ThruBox-Client#80 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/ThruBox-Client の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
DIGI-UW/OpenELIS-Global-2#5149 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
LucasSantana-Dev/Lucky#3257 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 5 日以内に返信
-
Declare the CMS schema library in the optional recipients extra対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea:python in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
yhay81/pyropdf#1005 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug contracts data-validation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信