feat(workflow): resume a parked run from a chosen step
Each finished stage records the run's step results; a retry may name a resume point, and the next attempt skips the steps before it with their results loaded. A run with a repository resumes only on its pushed branch. The canvas offers Resume/Re-run from here on parked runs.
This commit is contained in:
37 files changed
+606
-88
No files matched your search
@@ -187,6 +187,7 @@ func (s *Store) FinishStep(ctx context.Context, finish task.StepFinish) (events.
|
||||
n, err := q.FinishStepExecution(ctx, postgresdb.FinishStepExecutionParams{
|
||||
Status: string(finish.To), Detail: clip(finish.Detail, 4000), TokensUsed: finish.TokensUsed,
|
||||
ID: finish.StepID, Status_2: string(finish.From),
|
||||
Results: finish.Results,
|
||||
})
|
||||
if err != nil {
|
||||
return events.Event{}, err
|
||||
|
||||
Reference in new issue
Block a user