Skip to content

[Windows][P1] ASR 结束态缺少 timeout/retry,可能长期卡在 Transcribing #97

@Cooper-X-Oak

Description

@Cooper-X-Oak

Summary

结束录音后,ASR 终态等待路径没有 timeout 或 retry。若服务端既不回 final frame、也不主动报错/断开,UI 可能长期停在 Transcribing

Repro

  1. 让录音成功开始。
  2. 在结束录音后让 Volcengine WebSocket 保持连接但不返回 final frame。
  3. 观察 capsule 状态。

Expected

终态识别应该有明确超时或重试边界;超时后返回用户可见失败。

Actual

发送 last frame 后直接等待 await_final_result();代码里没有 timeout,也没有 retry。

Evidence

Verified:

  • openless -all/app/src-tauri/src/coordinator.rs:524-559
  • openless -all/app/src-tauri/src/asr/volcengine.rs:269-276

Inference:

  • 若服务端既不报错也不关闭连接,此状态会无限悬挂。

Impact

用户结束说话后可能一直停在转写中,无法完成插入,也没有明确失败反馈。

Owner Note

Owner intent: @Cooper-X-Oak plans to fix this personally. Please do not pick this up or reassign it unless asked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions