From 3cc05af2e5e846bf6ff5acc39659360d40143c8e Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 31 Mar 2026 14:22:08 +0000 Subject: [PATCH] chore(nodes): restore offline nodes too Signed-off-by: Ettore Di Giacinto --- core/services/nodes/health.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/nodes/health.go b/core/services/nodes/health.go index 42f25dce2..a0a619e2a 100644 --- a/core/services/nodes/health.go +++ b/core/services/nodes/health.go @@ -139,7 +139,7 @@ func (hm *HealthMonitor) doCheckAll(ctx context.Context) { } // Heartbeat is fresh — node is alive - if node.Status == StatusUnhealthy { + if node.Status == StatusUnhealthy || node.Status == StatusOffline { xlog.Info("Node recovered", "node", node.Name) if err := hm.registry.MarkHealthy(ctx, node.ID); err != nil { xlog.Error("Failed to mark node healthy", "node", node.Name, "error", err)