Skip to content

1.15.0: the heartbeat agent on every node, kept there by a routine; four ways to the broker - #63

Merged
855princekumar merged 3 commits into
mainfrom
heartbeat-routine
Oct 18, 2026
Merged

855princekumar merged 3 commits into
mainfrom
heartbeat-routine

Conversation

@855princekumar

Copy link
Copy Markdown
Owner

A routine keeps the MQTT heartbeat agent on every node SSH reaches (ADR 0016): installs it where it is missing, updates it where it is older, repairs it where SSH works but no heartbeat arrives; 25 per pass, a failed node left alone for a day, every action logged, Fleet Setup controls. Agent 1.2.0 bundled, installed through its setup.py with a join token and the broker login: four ways to the broker (MQTT and WebSocket, with and without TLS, TLS 1.2+) tried with a real login, the best kept and shown on the node card, and the agent switches by itself when its way in stops working. Settings pushes merge on the node; broker login push. SenseHive 1.8.0 by default. 347 tests locally.

🤖 Generated with Claude Code

855princekumar and others added 2 commits October 18, 2026 23:18
…our ways to the broker

A routine in the collector loop (ADR 0016), about 10 minutes after a start and
then every 6 hours: install the agent where it is missing, update it where it
is older than the bundled one, repair it where SSH works but no heartbeat came
for 15 minutes (the agent's own test first). 25 nodes per pass, a failed node
left alone for a day, every action logged, Fleet Setup controls and summary.

Agent 1.2.0 bundled, installed through its setup.py with a join token and the
broker login (HEARTBEAT_BROKER_USERNAME / _PASSWORD): four ways to the broker
(MQTT and WebSocket, with and without TLS) tried with a real login, the best
kept and shown on the node card; the agent switches by itself when its way in
stops working. Settings pushes merge on the node. Push the broker login to
every node. SenseHive 1.8.0 by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread app/agents/heartbeat/setup.py Dismissed
Comment thread app/agents/heartbeat/setup.py Dismissed
Comment thread app/agents/heartbeat/setup.py Dismissed
Comment thread app/agents/heartbeat/setup.py Dismissed
Comment thread app/agents/heartbeat/setup.py Dismissed
Comment thread app/agents/heartbeat/setup.py Dismissed
…ce agent 1.2.0)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@855princekumar
855princekumar merged commit c7c2f75 into main Oct 18, 2026
14 checks passed
@855princekumar
855princekumar deleted the heartbeat-routine branch October 18, 2026 19:15
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