Skip to content

Implement client heartbeats, improve display formatting, and fix UI alignment.#93

Merged
chvvkumar merged 6 commits intodevfrom
snd
Jan 5, 2026
Merged

Implement client heartbeats, improve display formatting, and fix UI alignment.#93
chvvkumar merged 6 commits intodevfrom
snd

Conversation

@chvvkumar
Copy link
Owner

@chvvkumar chvvkumar commented Jan 5, 2026

📋 Overview

This pull request introduces a new SafetyMonitor feature for client heartbeat registration and stale client pruning, enhancing system robustness. It also improves user experience by formatting connection durations for better readability and aligning table column text for consistency.

🔄 Changes by Category

  • Features:
    • Implemented client heartbeat registration and stale client pruning within the SafetyMonitor (alpaca/device.py, alpaca/routes/api.py, alpaca/routes/management.py).
    • Added formatting for connection durations, displaying them in dd-hh-mm-ss for improved readability (likely alpaca/routes/api.py or alpaca/routes/management.py).
  • Bug Fixes:
    • Corrected table column text alignment to the right for better consistency in the UI (templates/setup.html).
  • Tests:
    • Extensively modified test_alpaca.py to cover new features and existing functionality, including a significant reduction in lines of code while adding new tests (tests/test_alpaca.py).

📊 Analyzed 6 commit(s) | 🕐 Updated: 2026-01-05T04:15:53.340Z | Generated by GitHub Actions


@github-actions github-actions bot changed the title Snd Implement client heartbeats, improve display formatting, and fix UI alignment. Jan 5, 2026
@chvvkumar chvvkumar merged commit cca3cff into dev Jan 5, 2026
8 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