huskies: merge 1154 story Extend gateway_health with a relay-working signal — is each sled actually delivering events?

This commit is contained in:
dave
2026-05-20 00:42:24 +00:00
parent a3ac09f8a3
commit 2a5359051e
3 changed files with 118 additions and 6 deletions
+4
View File
@@ -56,6 +56,10 @@ pub struct GatewayStatusEvent {
/// considers the connection stale (story 899 AC 3).
pub const HEARTBEAT_MAX_AGE_MS: i64 = 30_000;
/// Maximum event age in seconds before a sled relay is considered `silent` rather than `ok`.
/// Default is 10 minutes; configurable at the call site via this constant.
pub const RELAY_MAX_AGE_SECS: f64 = 600.0;
/// Default per-request timeout, in milliseconds, for an MCP call proxied over
/// a sled uplink WebSocket. Mirrors the existing reqwest-based path which has
/// no explicit cap; we set a generous bound so long-running tools (e.g.