Run workflow stages with finish_stage handoffs and lead signals
This commit is contained in:
@@ -68,6 +68,7 @@ func (m *Manager) Fork(ctx context.Context, src api.Task, project api.Project, n
|
||||
CreatedAt: time.Now().UTC(),
|
||||
ForkedFrom: &srcSess.VendorSessionId,
|
||||
ForkedAt: &at,
|
||||
WorkflowStage: srcSess.WorkflowStage,
|
||||
}, t.ProjectId)
|
||||
if err != nil {
|
||||
return api.Task{}, fmt.Errorf("task %s created, but its agent session was not: %w", t.Id, err)
|
||||
|
||||
Reference in New Issue
Block a user