[Bug]: Router hides the final resume error when the retry budget expires
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
cmd/atenet/internal/router/ingress/resumer.go、特に flightResult を読み、既存の ingress テストクライアントと testing/synctest を使ったテストを調べてください。parking を有効にして一連の処理を再現し、リトライ予算が尽きたときに、先に発生した ResourceExhausted エラーではなく、最終的な NotFound エラーが返されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
What happened?
With request parking enabled, the router can return an earlier capacity error even after a retry returns NotFound. The client then gets HTTP 503 instead of 404.
This is reproducible in a unit test. When the budget has expired, flightResult returns the saved lastRetryErr instead of the final RPC error.
Expected Behavior
Return the final non-retryable error, even if the RPC finishes after the retry budget expires.
Steps to Reproduce
Using the existing ingress test client and testing/synctest:
- Enable parking with a 300 ms budget.
- Return
ResourceExhaustedfrom the firstResumeActorcall. - On the next call, sleep for 300 ms and return
NotFound. - The resumer returns
ResourceExhaustedinstead ofNotFound.
expected terminal error rpc error: code = NotFound desc = actor not found, got rpc error: code = ResourceExhausted desc = no free workers available
Sandbox Runtime
Both / Runtime Agnostic. Reproduced in a unit test; no cluster involved.
Agent Substrate Version / Commit SHA
main at fa858d0fdbec0e942e43667dba75194665a2ff38, macOS arm64, Go 1.27.0.
Additional Context
Related to #1562, but this case already returns an error the router considers non-retryable.
- 主要言語
- Go
- スター
- 4.4k
- フォーク
- 515
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 295
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
agent-substrate/substrate のほかの issue
-
Router dynamic xDS gRPC control plane runs plaintext on 0.0.0.0:18000対応中かも @LiorLieberman が 1 日前に担当しました。 オープンarea/network area/security kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
agent-substrate/substrate#2276 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: e2e script flag parsing is broken対応中かも @ericcurtin が 3 日前に担当しました。 オープンarea/dev-infra area/tests kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
agent-substrate/substrate#2217 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Reject trailing YAML documents in actor-template create manifests対応中かも @ericcurtin が 5 日前に担当しました。 オープンarea/cli kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
agent-substrate/substrate#2156 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area/storage kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
agent-substrate/substrate#2155 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Delete final-round GCS compose inputs after successful uploads対応中かも @ericcurtin が 4 日前に担当しました。 オープンarea/storage kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
agent-substrate/substrate#2154 ·
メンテナーはふだん 1 日以内に返信
agent-substrate/substrate の issue をすべて見る
似ている issue
-
proxy logs "no user in context" at error level for every data gateway download対応中かも @paul43210 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
txn2/mcp-data-platform#2063 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
kubernetes-sigs/kueue#16990 ·
メンテナーはふだん 1 日以内に返信
-
enhancement exporter/awss3 needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
open-telemetry/opentelemetry-collector-contrib#51905 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stellar/stellar-horizon#245 ·
メンテナーはふだん 1 日以内に返信