fix(FN-2872): reduce blocked-task log noise and clarify routing details
- Add a Node Routing section in TaskDetailModal showing override, effective node/source, unavailable-node policy, and blocking reason - Remove duplicate blocked-state heartbeat log output when the blocked reason has not changed - Silence runtime onBlocked logging to avoid repeated blocked-task log spam
This commit is contained in:
@@ -1034,7 +1034,6 @@ export class HeartbeatMonitor {
|
||||
|
||||
const previousBlockedState = await this.store.getLastBlockedState(agentId);
|
||||
if (previousBlockedState && isBlockedStateDuplicate(currentBlockedState, previousBlockedState)) {
|
||||
heartbeatLog.log(`Task ${resolvedTaskId} is still blocked by ${blockedBy} (duplicate state) — skipping comment`);
|
||||
await this.completeRun(agentId, run.id, {
|
||||
status: "completed",
|
||||
resultJson: { reason: "blocked_duplicate", taskId: resolvedTaskId, blockedBy },
|
||||
|
||||
@@ -284,9 +284,8 @@ export class InProcessRuntime
|
||||
this.recordActivity();
|
||||
runtimeLog.log(`Scheduled task ${task.id}`);
|
||||
},
|
||||
onBlocked: (task, blockedBy) => {
|
||||
runtimeLog.log(`Task ${task.id} blocked by: ${blockedBy.join(", ")}`);
|
||||
},
|
||||
onBlocked: () => {},
|
||||
|
||||
});
|
||||
|
||||
// 5b. Initialize TaskExecutor
|
||||
|
||||
Reference in New Issue
Block a user