Skip to content

[Bug]: Browser Talk silently drops speech when relay appends stall #123781

Closed

Description

@steipete

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Browser Talk silently drops microphone frames when four Gateway-relay audio append requests are pending.

Steps to reproduce

  1. Start browser Talk with the Gateway-relay transport.
  2. Hold four talk.session.appendAudio requests pending.
  3. Deliver a fifth captured microphone frame.
  4. Observe that only four append requests reach the Gateway while Talk continues without an error or recorded non-outcome.

Expected behavior

Talk must not continue silently after dropping speech. Reaching the bounded append limit should surface a visible failure and close the affected relay once.

Actual behavior

The fifth and later microphone frames are discarded while the session remains active and no status, transcript, Talk event, or diagnostic records the loss.

OpenClaw version

Current main at 07adc745efe99ebd72abf3adf862dc8e66036dad.

Operating system

macOS; reproduced deterministically in the Control UI Chromium E2E harness.

Install method

Source checkout.

Model

Provider-independent browser/Gateway relay behavior; the deterministic harness uses the OpenAI relay shape without contacting a live provider.

Provider / routing chain

Control UI browser Talk → OpenClaw Gateway relay → realtime provider adapter.

Additional provider/model setup details

No credentials or provider network access are required. The loss occurs before the fifth frame reaches the Gateway.

Logs

Before repair: 1 focused regression failed; four append requests remained active and no status callback fired.
After repair: 40/40 focused unit tests and 9/9 Chromium Talk E2E tests passed.

Screenshots, recordings, and evidence

The repaired user path displays an existing Talk error and leaves the dismiss/stop controls available:

Realtime Talk input backpressure error

Impact and severity

  • Affected: browser Talk users on the Gateway-relay transport.
  • Severity: high-integrity edge case because spoken input can be omitted without notice.
  • Frequency: deterministic whenever four append requests are simultaneously pending and another microphone frame arrives.
  • Consequence: the provider may receive incomplete speech while the UI misleadingly continues listening.

Additional information

The four-request bound is intentional. The defect is that overflow is silent. The repair should reuse the existing append-failure owner, preserve normal append ordering/failures and output behavior, and avoid protocol, provider, configuration, authentication, or native-client changes.

Activity

  1. added
    bug
    on Aug 14, 2026
  2. self-assigned this
    on Aug 14, 2026
  3. added
    maintainer
    on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmaintainer

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions