argoproj / argoproj/argo-workflows

Keep orphans option when deleting CronWorkflows in UI

Open
#14,679 4 comments 3 reactions 0 assignees View on GitHub
area/cron-workflows good first issue
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 20h
Merged PRs (30d)
138

Description

# Summary

When deleting a CronSchedule in the Workflows UI, any Workflows spawned from that CronSchedule will also be deleted (garbage collected by Kubernetes). This behaviour isn't obvious when a user goes to delete a Cron workflow and may lead to them losing data.

I propose that an option should be added to the delete confirmation modal that allows users to keep any orphaned Workflows from the CronSchedule. Alternatively, improved messaging in the modal that states any Workflows will be lost.

## Use Cases

When a user wishes to delete a CronSchedule but keep any of its associated Workflows

---

**Message from the maintainers**:

Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.

Contributor guide

Open the contributing guide

Research direction

The issue does not name files or tests; start by locating the CronSchedule delete confirmation modal and checking how Kubernetes garbage collection handles spawned Workflows. Done means the modal either offers a keep-orphans option or clearly warns that associated Workflows will be deleted, with the chosen behavior verified in the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
frontend, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.