Skip to content

[backend] Deleting Recurring Runs Forces Running Workflows to be Terminated #12573

@JerT33

Description

@JerT33

Environment

KFP version: 2.15.0
KFP SDK version: 2.15.0

Steps to reproduce

When deleting a recurring run via the API, the ScheduledWorkflow CRD is deleted with Kubernetes default cascade behavior. This causes any in-progress workflows (which have an ownerReference to the ScheduledWorkflow) to be terminated immediately

This is problematic for CI/CD workflows that need to update recurring runs by deleting and recreating them since the delete kills any currently running pipeline

This is also been brought up in this stale issue #7421 but does not seem to ever be addressed

Expected result

There should be a way to set the deletion policy when calling delete recurring runs, this way users can select to orphan current workflows to keep them running


Impacted by this bug? Give it a 👍.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions