[Bug]: Router hides the final resume error when the retry budget expires
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 75/100
Direzione di ricerca
Leggi cmd/atenet/internal/router/ingress/resumer.go, in particolare flightResult, e esamina il client di test ingress esistente e i test che usano testing/synctest. Riproduci la sequenza con il parking abilitato, quindi verifica che, quando il budget dei tentativi si esaurisce, venga restituito l’errore finale NotFound anziché l’errore precedente ResourceExhausted.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 4.4k
- Fork
- 515
- Merge medio
- 2g 10h
- PR unite (30g)
- 295
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di agent-substrate/substrate
-
Router dynamic xDS gRPC control plane runs plaintext on 0.0.0.0:18000Forse già presa @LiorLieberman l’ha presa oggi. Apertaarea/network area/security kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
agent-substrate/substrate#2276 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: e2e script flag parsing is brokenForse già presa @ericcurtin l’ha presa 2 giorni fa. Apertaarea/dev-infra area/tests kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
agent-substrate/substrate#2217 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Reject trailing YAML documents in actor-template create manifestsForse già presa @ericcurtin l’ha presa 5 giorni fa. Apertaarea/cli kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
agent-substrate/substrate#2156 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/storage kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
agent-substrate/substrate#2155 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Delete final-round GCS compose inputs after successful uploadsForse già presa @ericcurtin l’ha presa 4 giorni fa. Apertaarea/storage kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
agent-substrate/substrate#2154 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di agent-substrate/substrate
Issue simili
-
agent-research-recommend agent-review-finding chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jordansmall/spindrift#4821 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:web
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
praetorianer777/GoTome#178 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oracle/go-oracledb#105 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno