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:
Fusion
2026-05-12 22:14:58 -07:00
committed by gsxdsm
parent 081bb74939
commit 09637bee8f
5 changed files with 100 additions and 1 deletions

View File

@@ -497,7 +497,7 @@ export class Scheduler {
for (const agent of linkedAgents) {
await agentStore.updateAgentState(agent.id, "active");
await agentStore.syncExecutionTaskLink(agent.id, null);
await agentStore.syncExecutionTaskLink(agent.id, undefined);
schedulerLog.log(`Rolled back running agent ${agent.id} after overlap requeue of ${taskId}`);
}
}