Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Control-poll failure ends a call immediately, even if the peer would recover

Cerrado
#38 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

@sx4im ya está trabajando en esto.

Desde el 3/10/2026.

  • #39 de @sx4im — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript

Línea de trabajo

Start in src/client/useVoice.ts at the GET /voice/calls/:id polling catch and compare its behavior with the five-second RTCPeerConnection disconnected handling described in #26. Review pull request #39 and settle whether failures share a recoverable window; done means transient failures do not end a recoverable call, while persistent failure ends it once with one saved receipt.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

useVoice polls GET /voice/calls/:id every 2 seconds. In src/client/useVoice.ts the .catch() on that poll sets Call control connection was lost. and calls end() right away. So one failed poll, for example during a short network flap, ends the call even if the peer connection would have recovered.

#26 adds a five-second grace period for RTCPeerConnection disconnected. It does not cover this path. Credit to kvnloo for spotting it in the review of #26.

I have not reproduced this in a real browser. This is from reading the code.

Questions to settle:

  • Should a single failed poll end the call, or only a run of failures?
  • Should the poll failure and the peer state share one "recoverable" window?

Acceptance cases suggested on #26:

  • transient control-poll failure with a recoverable peer: observe whether the call still ends
  • persistent peer or control failure: the call ends once, with one saved receipt

Written with AI help, checked against the source by me.

Lenguaje dominante
TypeScript
Estrellas
4.8k
Forks
690
Merge medio
1 d 15 h
PR fusionados (30 d)
43

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CopilotKit/OpenDots

Todos los issues de CopilotKit/OpenDots

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.