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.
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.