openclaw - ✅(Solved) Fix [bug]: TUI streaming watchdog shows stale warning when agent response exceeds 30s [1 pull requests, 1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78487Fetched 2026-05-07 03:36:21
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
commented ×1cross-referenced ×1

When using openclaw tui --local, the terminal UI displays:

This response is taking longer than expected. Send another message to continue.

whenever agent streaming takes more than 30 seconds without a delta.

Root Cause

The streamingWatchdog timer in tui-event-handlers.ts uses a hardcoded 30_000ms (30s) threshold with no way to configure it. This causes false-positive stale warnings during long responses.

Fix Action

Solution

Added streamingWatchdogMs configuration with three access points:

  1. CLI flag: openclaw tui --streaming-watchdog-ms 600000
  2. Config file: Add "streamingWatchdogMs": 600000 to tui section in openclaw.json
  3. Code: TuiOptions.streamingWatchdogMs field

PR fix notes

PR #78488: feat(tui): make streaming watchdog timeout configurable

Description (problem / solution / changelog)

Problem

When using openclaw tui --local, the terminal UI shows:

This response is taking longer than expected. Send another message to continue.

whenever agent streaming takes more than 30 seconds without a delta, even for valid ongoing responses.

Solution

Added streamingWatchdogMs configuration with three access points:

  1. CLI flag: openclaw tui --streaming-watchdog-ms 600000
  2. Config file: Add "streamingWatchdogMs": 600000 to tui section in openclaw.json
  3. Code: TuiOptions.streamingWatchdogMs field

Changes

Code changes in 3 files (+12 lines):

  • src/tui/tui-types.ts — added streamingWatchdogMs to TuiOptions
  • src/cli/tui-cli.ts — added --streaming-watchdog-ms <ms> CLI option (default: 30000)
  • src/tui/tui.ts — passes streamingWatchdogMs to createEventHandlers

Related

Addresses: openclaw/openclaw#78487

Changed files

  • .github/workflows/openclaw-release-publish.yml (modified, +74/-18)
  • .github/workflows/plugin-clawhub-release.yml (modified, +2/-2)
  • CHANGELOG.md (modified, +14/-1)
  • docs/.generated/plugin-sdk-api-baseline.sha256 (modified, +2/-2)
  • docs/channels/telegram.md (modified, +1/-0)
  • docs/channels/whatsapp.md (modified, +10/-0)
  • docs/concepts/qa-e2e-automation.md (modified, +2/-0)
  • docs/plugins/reference/whatsapp.md (modified, +10/-0)
  • docs/reference/RELEASING.md (modified, +7/-4)
  • extensions/codex/src/conversation-binding.test.ts (modified, +143/-2)
  • extensions/codex/src/conversation-binding.ts (modified, +81/-17)
  • extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.test.ts (modified, +177/-0)
  • extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.ts (modified, +168/-2)
  • extensions/qa-lab/src/providers/mock-openai/server.test.ts (modified, +42/-0)
  • extensions/qa-lab/src/providers/mock-openai/server.ts (modified, +45/-0)
  • extensions/slack/src/action-runtime.test.ts (modified, +0/-2)
  • extensions/slack/src/action-runtime.ts (modified, +0/-18)
  • extensions/slack/src/outbound-delivery.test.ts (modified, +19/-0)
  • extensions/slack/src/send.blocks.test.ts (modified, +47/-0)
  • extensions/slack/src/send.ts (modified, +8/-1)
  • extensions/slack/src/send.upload.test.ts (modified, +6/-0)
  • extensions/telegram/src/bot-message-dispatch.test.ts (modified, +85/-1)
  • extensions/telegram/src/bot-message-dispatch.ts (modified, +25/-1)
  • extensions/telegram/src/lane-delivery-text-deliverer.ts (modified, +91/-2)
  • extensions/telegram/src/lane-delivery.test.ts (modified, +32/-0)
  • extensions/whatsapp/src/channel.setup.test.ts (modified, +17/-0)
  • extensions/whatsapp/src/channel.ts (modified, +2/-0)
  • extensions/whatsapp/src/config-accessors.test.ts (modified, +1/-1)
  • extensions/whatsapp/src/normalize-target.ts (modified, +21/-2)
  • extensions/whatsapp/src/normalize.ts (modified, +1/-0)
  • extensions/whatsapp/src/setup-finalize.ts (modified, +13/-11)
  • extensions/whatsapp/src/setup-test-helpers.ts (modified, +6/-5)
  • scripts/generate-plugin-inventory-doc.mjs (modified, +16/-1)
  • src/agents/sandbox/host-paths.test.ts (modified, +39/-0)
  • src/agents/sandbox/host-paths.ts (modified, +33/-4)
  • src/agents/sandbox/validate-sandbox-security.test.ts (modified, +22/-10)
  • src/agents/sandbox/validate-sandbox-security.ts (modified, +12/-6)
  • src/agents/system-prompt.test.ts (modified, +8/-2)
  • src/agents/system-prompt.ts (modified, +2/-2)
  • src/cli/daemon-cli/restart-health.test.ts (modified, +67/-0)
  • src/cli/daemon-cli/restart-health.ts (modified, +60/-8)
  • src/cli/plugins-cli.install.test.ts (modified, +28/-0)
  • src/cli/plugins-command-helpers.ts (modified, +23/-3)
  • src/cli/tui-cli.ts (modified, +10/-0)
  • src/commands/channel-setup/plugin-install.test.ts (modified, +48/-0)
  • src/commands/doctor.warns-state-directory-is-missing.e2e.test.ts (modified, +15/-0)
  • src/commands/doctor/shared/missing-configured-plugin-install.test.ts (modified, +114/-30)
  • src/commands/doctor/shared/missing-configured-plugin-install.ts (modified, +43/-16)
  • src/commands/onboarding-plugin-install.ts (modified, +46/-16)
  • src/config/config.sandbox-docker.test.ts (modified, +36/-0)
  • src/config/zod-schema.agent-runtime.ts (modified, +7/-4)
  • src/gateway/gateway-models.profiles.live.test.ts (modified, +1/-1)
  • src/gateway/net.test.ts (modified, +21/-0)
  • src/gateway/net.ts (modified, +6/-0)
  • src/infra/package-update-utils.ts (modified, +28/-4)
  • src/infra/tsdown-config.test.ts (modified, +80/-0)
  • src/plugins/channel-plugin-ids.test.ts (modified, +56/-0)
  • src/plugins/gateway-startup-plugin-ids.ts (modified, +137/-0)
  • src/plugins/install-channel-specs.ts (added, +87/-0)
  • src/plugins/update.test.ts (modified, +127/-2)
  • src/plugins/update.ts (modified, +15/-58)
  • src/security/audit-sandbox-docker-config.test.ts (modified, +17/-0)
  • src/tui/tui-types.ts (modified, +1/-0)
  • src/tui/tui.ts (modified, +1/-0)
  • tsdown.config.ts (modified, +95/-0)
RAW_BUFFERClick to expand / collapse

Description

When using openclaw tui --local, the terminal UI displays:

This response is taking longer than expected. Send another message to continue.

whenever agent streaming takes more than 30 seconds without a delta.

Root Cause

The streamingWatchdog timer in tui-event-handlers.ts uses a hardcoded 30_000ms (30s) threshold with no way to configure it. This causes false-positive stale warnings during long responses.

Solution

Added streamingWatchdogMs configuration with three access points:

  1. CLI flag: openclaw tui --streaming-watchdog-ms 600000
  2. Config file: Add "streamingWatchdogMs": 600000 to tui section in openclaw.json
  3. Code: TuiOptions.streamingWatchdogMs field

Changes

Code changes in 3 files (+12 lines):

  • src/tui/tui-types.ts — added streamingWatchdogMs to TuiOptions
  • src/cli/tui-cli.ts — added --streaming-watchdog-ms <ms> CLI option (default: 30000)
  • src/tui/tui.ts — passes streamingWatchdogMs to createEventHandlers

Related

This fixes the issue described in: openclaw/openclaw#78360

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix [bug]: TUI streaming watchdog shows stale warning when agent response exceeds 30s [1 pull requests, 1 comments, 2 participants]