Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa
#38 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@sx4im ci sta già lavorando.

Dal 3/10/2026.

  • #39 di @sx4im — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
4.8k
Fork
690
Merge medio
1g 15h
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CopilotKit/OpenDots

Tutte le issue di CopilotKit/OpenDots

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.