Format owner failure recovery changes
This commit is contained in:
@@ -1018,7 +1018,8 @@ describe('paired execution context', () => {
|
||||
taskId: 'task-1',
|
||||
role: 'owner',
|
||||
status: 'failed',
|
||||
summary: "Error running remote compact task: Unknown parameter: 'prompt_cache_retention'",
|
||||
summary:
|
||||
"Error running remote compact task: Unknown parameter: 'prompt_cache_retention'",
|
||||
});
|
||||
|
||||
expect(db.updatePairedTask).toHaveBeenCalledWith(
|
||||
|
||||
@@ -370,7 +370,9 @@ export function preparePairedExecutionContext(args: {
|
||||
expectedUpdatedAt: latestTask.updated_at,
|
||||
updatedAt: now,
|
||||
patch: {
|
||||
...(hasHuman ? { round_trip_count: 0, owner_failure_count: 0 } : {}),
|
||||
...(hasHuman
|
||||
? { round_trip_count: 0, owner_failure_count: 0 }
|
||||
: {}),
|
||||
},
|
||||
});
|
||||
} else {
|
||||
@@ -379,7 +381,9 @@ export function preparePairedExecutionContext(args: {
|
||||
expectedUpdatedAt: latestTask.updated_at,
|
||||
updatedAt: now,
|
||||
patch: {
|
||||
...(hasHuman ? { round_trip_count: 0, owner_failure_count: 0 } : {}),
|
||||
...(hasHuman
|
||||
? { round_trip_count: 0, owner_failure_count: 0 }
|
||||
: {}),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user