tektoncd / results

Long term storage of execution results.
Apache License 2.0
78 stars 74 forks source link

TaskRuns gets deleted before PipelineRun completes if check_owner flag is disabled #689

Closed sayan-biswas closed 10 months ago

sayan-biswas commented 10 months ago

Expected Behavior

TaskRuns which are part of a PipelineRun should not get deleted separately. Instead should wait for parent deletion.

Actual Behavior

TaskRuns gets deleted before PipelineRun completes if check_owner flag is disabled

Note: Right now this is a bug because the Pipeline Controller doesn't handle the edge case where the child TaskRun can be deleted without deleting the parent PipelineRun, and as a result the deletion causes the PipelineRun object to get updated with a "Pending" status for that task.