Run Claude sessions on tasks with event streaming and restart recovery
This commit is contained in:
@@ -169,7 +169,7 @@ func TestProjectAndTaskLifecycle(t *testing.T) {
|
||||
|
||||
done := api.Task{}
|
||||
code = h.do("POST", "/api/tasks/"+task.Id+"/complete", nil, &done)
|
||||
if code != http.StatusOK || done.Status != api.Completed || done.CompletedAt == nil {
|
||||
if code != http.StatusOK || done.Status != api.TaskStatusCompleted || done.CompletedAt == nil {
|
||||
t.Fatalf("complete: %d %+v", code, done)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user