Give each workflow run a parent task with no agent

This commit is contained in:
Ian Gulliver
2026-10-21 09:02:09 -07:00
parent d062d7ccae
commit a130b9556d
23 changed files with 661 additions and 474 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ func (m *Manager) tryPromptReady(ctx context.Context, taskID string, fromReview
if output != "" && len(workflow.Next(frozen.Definition, *task.WorkflowStage)) > 0 {
return nil
}
finished, err := m.store.WorkflowFinished(ctx, *task.WorkflowRun)
finished, err := m.store.WorkflowFinished(ctx, *task.ParentTaskId)
if err != nil {
return err
}