Skip to main content

Module messaging_health

Module messaging_health 

Source
Expand description

Health of the messaging path, for /health and app.health.

On 2026-11-15 narko’s message handler stopped answering for two hours while /health kept saying ok, because it only said that the process answered. Now the report also says whether the handler’s lock can be taken (every message, spawn and Kanban load needs it), how many times a panic left it poisoned and it was recovered, and whether srv is panicking in bulk (backend::panic_watch). Either problem makes the status degraded.

The HTTP status stays 200: agentmux’s own health_ok (agentmux_cli/process.rs) reads anything else as “no server here” and could start a second one beside a working srv. The word is in the body.

Structs§

MessagingHealth 🔒
What the messaging path looks like just now.

Constants§

LOCK_POLL 🔒
LOCK_WAIT 🔒
How long the lock may stay taken before the path counts as stuck. A delivery holds it for milliseconds.

Functions§

lock_taken_within 🔒
Whether free answers true within wait, asking every poll.