feat(FN-4249): complete Step 3 — add running-agent mismatch self-healing
Fusion-Task-Id: FN-4249 Fusion-Task-Lineage: e0052fae-38e1-4d66-8240-43d26f5790bb
This commit is contained in:
@@ -863,6 +863,10 @@ export class HeartbeatMonitor {
|
||||
* Called on monitor start AND periodically from the polling loop to keep
|
||||
* the system self-healing across versions. Best-effort — failures are
|
||||
* logged but do not block the caller.
|
||||
*
|
||||
* Complements SelfHealingManager.recoverAgentsRunningOnInactiveTasks():
|
||||
* heartbeat reconciliation handles stale/no-run conditions, while self-healing
|
||||
* handles task-column mismatches (for example running agents linked to todo tasks).
|
||||
*/
|
||||
private async reconcileOrphanedRunningAgents(): Promise<void> {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user