You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 1s display tick so TUI elapsed counter updates every second (#527)
## Summary
- The TUI elapsed counter only updated every 2 seconds because the
display refresh was tied to the API polling interval
(`tickIntervalActive = 2s`)
- Adds a separate 1-second display tick (`tuiDisplayTickMsg`) that
triggers a repaint without any API calls
- API polling remains at 2s to avoid unnecessary daemon requests
## Test plan
- [x] `TestTUIDisplayTickDoesNotTriggerRefresh` verifies the display
tick reschedules itself and does not trigger job/status fetches
- [x] Existing `TestTUITickInterval` and
`TestTUITickNoRefreshWhileLoadingJobs` still pass
- [ ] Manual: run `roborev tui` with a running job and verify the
elapsed counter ticks every second
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments