dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Can a TaskRun be replayed if the PipelineRun is generated by EventListener?

Open vromann opened this issue 8 months ago • 1 comments

Feature request

Is there a way to rerun/edit and rerun a TaskRun which has been created from a PipelineRun which has been triggered by EventListener pod?

From I've seen, it only works when I manually create a TaskRun - that task can be replayed.

Use case

In our setup, developers or non-devops related people can ease our work by modifying their build and test by themselves the build. Let's say a PipelineRun is triggered by a git push command. The pipeline is not working properly on Task 3. I go to TaskRuns and I want to edit and rerun that Task which was failing with the new modifications made from UI. This will trigger the PipelineRun again (Task 1 -> Task 2 -> Task 3 (with my modifications) and so on).

Additional context

We are trying to migrate from Jenkins. This behaviour is available in Jenkins.

vromann avatar Mar 09 '26 10:03 vromann

Standalone TaskRuns can be rerun in the Dashboard today. However, TaskRuns executed as part of a PipelineRun cannot be rerun.

This functionality would need to be supported by Tekton Pipelines before it can be surfaced in the Dashboard.

See previous proposals for partial execution / on-demand retries:

  • https://github.com/tektoncd/community/pull/422
  • https://github.com/tektoncd/community/pull/484

Closing since there's nothing for the Dashboard to do at this time, and we can revisit if/when Pipelines supports this or another similar feature. Feel free to post on Slack to raise awareness of your use case and see if either of the previous proposals might be revisited or if a new proposal might make more sense.

https://github.com/tektoncd/community/blob/main/contact.md#slack

AlanGreene avatar Mar 09 '26 13:03 AlanGreene