Skip to content

Implement client heartbeats, improve display formatting, and fix UI#94

Merged
chvvkumar merged 7 commits intomainfrom
dev
Jan 5, 2026
Merged

Implement client heartbeats, improve display formatting, and fix UI#94
chvvkumar merged 7 commits intomainfrom
dev

Conversation

@chvvkumar
Copy link
Owner

@chvvkumar chvvkumar commented Jan 5, 2026

📋 Overview

This pull request introduces a new client heartbeat mechanism with stale client pruning to enhance system monitoring and reliability. It also improves the readability of connection duration by formatting it in dd-hh-mm-ss. Additionally, the PR includes a fix for UI table column alignment for better consistency.

🔄 Changes by Category

  • Features:
    • Implemented client heartbeat registration and stale client pruning within the SafetyMonitor in alpaca/device.py, with corresponding API and management route updates.
    • Formatted connection duration to dd-hh-mm-ss for improved readability in alpaca/routes/management.py and templates/setup.html.
  • Bug Fixes:
    • Corrected table column text alignment to the right for better consistency in templates/setup.html.
  • Tests:
    • Extensively updated and added new tests in tests/test_alpaca.py, particularly covering the new client heartbeat functionality and display formatting.

📊 Analyzed 7 commit(s) | 🕐 Updated: 2026-01-05T04:19:22.840Z | Generated by GitHub Actions


@github-actions github-actions bot changed the title Dev Implement client heartbeats, improve display formatting, and fix UI Jan 5, 2026
@chvvkumar chvvkumar merged commit c7417da into main Jan 5, 2026
14 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