Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

已关闭
#38 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@sx4im 已经在做这个了。

开始于 2026年10月3日。

  • #39 来自 @sx4im —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
4.8k
派生
690
平均合并
1 天 15 小时
30 天内合并 PR
43

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CopilotKit/OpenDots 的其他 Issue

查看 CopilotKit/OpenDots 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。