feat(FN-4813): complete docs, settings, and verification updates

Fusion-Task-Id: FN-4813
Fusion-Task-Lineage: 846893a5-2afa-4817-8f64-8c444d2fd713
This commit is contained in:
Fusion (runfusion.ai)
2026-05-16 17:27:44 -07:00
committed by gsxdsm
parent 7a5739faea
commit b2ca02f743
8 changed files with 41 additions and 18 deletions

View File

@@ -10,7 +10,6 @@ const baseTask: Task = {
steps: [],
currentStep: 0,
log: [],
prompt: "",
createdAt: "2026-01-01T00:00:00.000Z",
updatedAt: "2026-01-01T00:00:00.000Z",
};

View File

@@ -32,7 +32,6 @@ describe("MeshLeaseManager owning-node handoff integration", () => {
async function seedLease(ownerNodeId: string): Promise<void> {
await taskStore.updateTask(taskId, {
column: "in-progress",
checkedOutBy: "agent-1",
checkedOutAt: "2026-05-01T00:00:00.000Z",
checkoutLeaseRenewedAt: "2026-05-01T00:00:00.000Z",

View File

@@ -1029,7 +1029,9 @@ export class Scheduler {
}
}
const nodeHealth = this.options.nodeHealthMonitor.getNodeHealth(effectiveNode.nodeId);
const nodeHealth = effectiveNode.nodeId
? this.options.nodeHealthMonitor.getNodeHealth(effectiveNode.nodeId)
: undefined;
const decision = applyUnavailableNodePolicy({
effectiveNode,
nodeHealth,