auto-sync: 2026-05-25 13:23:15
This commit is contained in:
@@ -633,7 +633,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
|
||||
row = conn.execute(
|
||||
"SELECT status FROM tasks WHERE id=?", (task_id,)
|
||||
).fetchone()
|
||||
if row and row["status"] in ("done", "failed", "cancelled", "review"):
|
||||
if row and row["status"] in ("done", "failed", "cancelled", "review", "pending"):
|
||||
logger.info("Retry skip: task %s already %s (agent=%s)",
|
||||
task_id, row["status"], agent_id)
|
||||
# counter 仍然占用,通过 on_complete release
|
||||
|
||||
Reference in New Issue
Block a user