Skip to content

Add auto-refresh polling for debug view#1373

Merged
steipete merged 2 commits intoopenclaw:mainfrom
yazinsai:main
Jan 22, 2026
Merged

Add auto-refresh polling for debug view#1373
steipete merged 2 commits intoopenclaw:mainfrom
yazinsai:main

Conversation

@yazinsai
Copy link
Copy Markdown
Contributor

Summary

  • Adds automatic polling (every 3 seconds) to the debug view when active
  • Removes the need to manually click refresh button to see updated debug messages
  • Implements the same polling pattern used for logs and nodes views

Changes

  • Added startDebugPolling() and stopDebugPolling() functions in app-polling.ts
  • Updated lifecycle handlers to start/stop polling on connection/disconnection
  • Updated tab switching logic to start/stop polling when entering/leaving debug tab
  • Added debugPollInterval property to track the polling state

Test plan

  • Navigate to /chat (debug tab) in the gateway UI
  • Verify debug information (status, health, models, heartbeat) refreshes automatically every 3 seconds
  • Verify no manual refresh button clicking is needed
  • Switch to other tabs and verify polling stops
  • Switch back to debug tab and verify polling resumes

yazinsai and others added 2 commits January 22, 2026 02:03
The debug view now automatically refreshes every 3 seconds when active,
similar to the logs view. This removes the need to manually click the
refresh button to see updated debug messages and status information.
@steipete steipete merged commit 2d1d793 into openclaw:main Jan 22, 2026
21 of 22 checks passed
@steipete
Copy link
Copy Markdown
Contributor

Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- Land commit: 2f47b3f\n- Merge commit: 2d1d793\n\nThanks @yazinsai!

zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
Add auto-refresh polling for debug view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants