Skip to content

Fix Dashboard auto-refresh silently stalling#833

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/dashboard-auto-refresh-stall
Apr 12, 2026
Merged

Fix Dashboard auto-refresh silently stalling#833
erikdarlingdata merged 1 commit intodevfrom
fix/dashboard-auto-refresh-stall

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Same class of bug as Lite (Auto Refresh not working #824) — timer tick handlers redundantly managed _isRefreshing, and MessageBox.Show on connection failure blocked the UI thread while the flag stayed true, causing every subsequent tick to skip silently
  • Moved _isRefreshing ownership into LoadDataAsync to match Lite's pattern
  • Auto-refresh errors now log + update status bar instead of showing a blocking MessageBox

Test plan

  • Build clean, 0 warnings
  • Launched Dashboard, connected to server with 60s auto-refresh
  • Monitored profiler log — confirmed 4 consecutive ticks fired on schedule
  • Verify manual refresh still works (full refresh path unchanged)
  • Verify connection failure during auto-refresh logs error without MessageBox

🤖 Generated with Claude Code

…ataAsync

Same class of bug as Lite (#824) — the timer tick handlers each managed
the _isRefreshing flag redundantly. On a transient connection failure,
MessageBox.Show blocked the UI thread while _isRefreshing remained true,
causing every subsequent tick to skip silently.

- Move _isRefreshing ownership into LoadDataAsync (matches Lite pattern)
- Remove redundant guard from all 3 timer tick handlers
- Suppress MessageBox during auto-refresh (fullRefresh: false) — log
  errors and update status bar instead of blocking the UI thread

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit ef8435a into dev Apr 12, 2026
3 checks passed
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.

1 participant