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:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user