lmcp 0.5.3-1: hub hardening — hard ssh timeout, parallel probes, sticky DOWN cache

This commit is contained in:
2026-04-21 14:00:28 +02:00
parent ef7911dd27
commit c07d1f846c
2 changed files with 19 additions and 2 deletions
+17
View File
@@ -1,3 +1,20 @@
lmcp (0.5.3-1) bookworm trixie; urgency=medium
* hub.lua: hard wall-clock cap on ssh fallback via `timeout` —
prevents event-loop wedges on half-dead sshd (auth stall, remote
bash-s hang). Configurable via LMCP_HUB_SSH_HARD_TIMEOUT.
* hub.lua: parallel lmcp probes for remote_list_hosts. Wall clock
for a 12-backend fleet with 8 offline hosts drops from ~28 s
(sequential ssh timeouts) to ~3 s.
* hub.lua: probe is lmcp-only, not ssh. Actual remote_* calls still
fall through to ssh fallback when lmcp is down.
* hub.lua: sticky DOWN cache with exponential backoff (60 → 120 →
240 → 480 → 900 s). UP hosts still 30 s TTL.
* hub.lua: per-request stderr logging (tool/host/via/elapsed) for
future RCA.
-- Markus Fritsche <mfritsche@reauktion.de> Tue, 21 Apr 2026 14:10:00 +0000
lmcp (0.5.2-1) bookworm trixie; urgency=medium
* server.lua: new shell_bg tool launches detached commands via