fix(FN-1284): move terminal execution failures to in-review
- Move single-session and step-session executor failure paths to in-review after marking tasks failed - Route exhausted transient recovery retries to in-review instead of leaving tasks outside review flow - Move stuck-kill budget exhaustion failures in self-healing to in-review and update failure log wording - Add regression tests in executor and self-healing suites to verify in-review transitions on these failure states
This commit is contained in:
@@ -213,9 +213,10 @@ export class SelfHealingManager {
|
||||
status: "failed",
|
||||
error: `Task stuck ${newCount} times — exceeded maximum of ${maxKills} stuck kills`,
|
||||
});
|
||||
await this.store.moveTask(taskId, "in-review");
|
||||
await this.store.logEntry(
|
||||
taskId,
|
||||
`Permanently failed: agent stuck ${newCount} times (max: ${maxKills})`,
|
||||
`Permanently failed: agent stuck ${newCount} times (max: ${maxKills}) — moved to in-review`,
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user