Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
sayan-biswas opened this issue Jan 5, 2024 · 0 comments · Fixed by #690
Closed
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@sayan-biswas
Copy link
Contributor

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.

@sayan-biswas sayan-biswas added the kind/bug Categorizes issue or PR as related to a bug. label Jan 5, 2024
@sayan-biswas sayan-biswas self-assigned this Jan 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant