Refresh emulator inactivity timeout on SDK-retried responses (blocked on SDK enhancement)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read the shell's OperationProgressHandler implementation and how it is registered with the Cosmos SDK; the issue does not name file paths. First check whether the SDK enhancement Azure/azure-cosmos-dotnet-v3#6178 is available, since this work is explicitly blocked on it. Once available, implement per-attempt timeout refresh while excluding synthesized timeouts, then add a test with repeated 429 responses exceeding the timeout and verify the command completes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
OperationProgressHandler (added in #264) restarts the local-emulator inactivity timeout whenever the emulator returns a response. It is registered as a Cosmos SDK custom handler, and the SDK places custom handlers before its RetryHandler, so the handler sees only the final response of an operation, not the intermediate responses the SDK retries (for example 429).
Impact
A throttled operation against the local emulator can stay inside the SDK retry loop for longer than the 10-second inactivity limit. With the SDK's default rate-limit policy (up to 9 retries, up to 30 seconds of waiting), the shell can cancel the command and disconnect even though the emulator answered every attempt. Earlier writes remain committed. This only affects local-emulator connections; Azure accounts have no inactivity timeout.
Plan
- Request a supported per-attempt response notification from the SDK (Gateway and Direct, without changing custom-handler semantics): Azure/azure-cosmos-dotnet-v3#6178.
- Once it ships, use it in the shell to restart the inactivity timeout on each real response, still excluding SDK-synthesized timeouts, so stalled requests keep timing out.
- Add a test that simulates repeated 429 responses longer than the timeout and verifies the command completes.
This does not block current releases; integrate it in the first shell release after the SDK change is available.
- Lingua principale
- C#
- Stelle
- 4
- Fork
- 7
- Merge medio
- 2g 4h
- PR unite (30g)
- 26
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 Azure/CosmosDBShell
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Azure/CosmosDBShell#240 ·
I maintainer di solito rispondono entro 1 giorno
-
automation P1
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
Azure/CosmosDBShell#178 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Lightweight headless CI distribution (no MCP, LSP, interactive UI)Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaautomation P1
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Azure/CosmosDBShell#175 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
agentic enhancement P0
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Azure/CosmosDBShell#153 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Azure/CosmosDBShell#104 · 8 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/CosmosDBShell
Issue simili
-
VB -> C#
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
icsharpcode/CodeConverter#1301 ·
I maintainer di solito rispondono entro 3 giorni
-
PettingZoo wrappers send only the first action component to every action dimensionForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
Unity-Technologies/ml-agents#6341 ·
I maintainer di solito rispondono entro 1 giorno
-
Area: World-Readiness
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
microsoft/calculator#2522 ·
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Sonarr/Sonarr#9274 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
mailto support for hyperlinkApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100