feat(telegram): harden channel reliability with retries and error diagnostics

This commit is contained in:
William Valentin
2026-02-18 13:12:11 -08:00
parent 0ccbe65d3f
commit 42ae4a75df
11 changed files with 323 additions and 44 deletions
+8 -1
View File
@@ -73,7 +73,14 @@ export function discoverServices(
}
if (registered) {
services.push({ name, type: 'channel', status: registered.status as ServiceStatus, description });
services.push({
name,
type: 'channel',
status: registered.status as ServiceStatus,
description,
...(registered.lastError ? { error: registered.lastError } : {}),
...(registered.lastErrorAt ? { metadata: { lastErrorAt: registered.lastErrorAt } } : {}),
});
continue;
}