Skip to content

TEP-0191: Resume a PipelineRun from a Task in a Previous PipelineRun#1287

Open
chmouel wants to merge 1 commit into
tektoncd:mainfrom
chmouel:tep-0191-pipelinerun-resume
Open

TEP-0191: Resume a PipelineRun from a Task in a Previous PipelineRun#1287
chmouel wants to merge 1 commit into
tektoncd:mainfrom
chmouel:tep-0191-pipelinerun-resume

Conversation

@chmouel

@chmouel chmouel commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

This TEP proposes an alpha-gated way to create a new PipelineRun that resumes from a task in an unsuccessful source run. Completed upstream task outcomes and results are inherited without re-executing those tasks, while the new run preserves Tekton's graph semantics and records the relationship between both execution attempts.

The proposal stays high-level and identifies the remaining design questions around pipeline compatibility, workspace state, authorization, retention, branching graphs, and Chains/SLSA provenance.

/kind tep

@tekton-robot tekton-robot added the kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). label Jul 16, 2026
@tekton-robot
tekton-robot requested review from dlorenc and vtereso July 16, 2026 13:51
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from chmouel after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 16, 2026
@chmouel
chmouel force-pushed the tep-0191-pipelinerun-resume branch from 4160d86 to 683630c Compare July 17, 2026 07:45
@chmouel chmouel changed the title TEP-0191: Resume a PipelineRun from a Task TEP-0191: Resume a PipelineRun from a Task in a Previous PipelineRun Jul 17, 2026
PipelineRuns that fail late currently have to restart from the
beginning. This repeats successful work and can repeat non-idempotent side
effects.

This TEP proposes an alpha-gated way to create a new PipelineRun from an
unsuccessful previous PipelineRun and restart at a selected task. Completed
upstream task outcomes and results are inherited while the new run preserves
graph dependencies and records the relationship between both attempts.

The proposal stays high-level and includes a conceptual YAML example. It
calls out the remaining questions around pipeline compatibility, workspaces,
matrix and finally tasks, authorization, retention, and Chains/SLSA
provenance.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
@chmouel
chmouel force-pushed the tep-0191-pipelinerun-resume branch from 683630c to 27a824c Compare July 17, 2026 08:37
@afrittoli

Copy link
Copy Markdown
Member

Thanks @chmouel.

It looks like the TEP-0190 PR jumped 20 numbers for some reason. Would you mind renumbering this to a TEP-0172 instead?

I'll follow up with a proper review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants