Propagate cancellation and preserve resumable state

This commit is contained in:
2026-11-20 05:53:49 +00:00
parent a6c6f1e4ab
commit c7a5ff316d
21 changed files with 356 additions and 27 deletions

View File

@@ -132,6 +132,9 @@ func executeSelectedPipeline(ctx context.Context, input *executionInput, deps co
if err != nil {
return nil, &inputError{message: err.Error(), cause: err}
}
if err := ctx.Err(); err != nil {
return nil, err
}
summary, err := executor(ctx, cfg, input.plan, RunOptions{Force: input.Force.Value, SelectedArtifacts: selected, EffectiveArtifacts: effective})
if summary == nil {
if err == nil {