Refresh emulator inactivity timeout on SDK-retried responses (blocked on SDK enhancement)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 4
- Forks
- 7
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 26
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/CosmosDBShell
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Azure/CosmosDBShell#240 ·
Los mantenedores suelen responder en 1 día
-
automation P1
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
Azure/CosmosDBShell#178 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Lightweight headless CI distribution (no MCP, LSP, interactive UI)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoautomation P1
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Azure/CosmosDBShell#175 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
agentic enhancement P0
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Azure/CosmosDBShell#153 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Azure/CosmosDBShell#104 · 8 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de Azure/CosmosDBShell
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
OrchardCMS/OrchardCore#20194 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
Los mantenedores suelen responder en 1 día
-
VB -> C#
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
icsharpcode/CodeConverter#1301 ·
Los mantenedores suelen responder en 3 días
-
JSON-RPC: calling a method in a disabled namespace returns -32600 instead of -32601Posiblemente ocupada @stdevMac la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
NethermindEth/nethermind#15576 ·
Los mantenedores suelen responder en 1 día
-
PettingZoo wrappers send only the first action component to every action dimensionPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Unity-Technologies/ml-agents#6341 ·
Los mantenedores suelen responder en 1 día