Skip to content

feat: migrate foreground delete on cd pipeline delete from ent to oss - #7037

Merged
SATYAsasini merged 2 commits into
developfrom
feat-migration-foreground-delete
Sep 15, 2026
Merged

SATYAsasini merged 2 commits into
developfrom
feat-migration-foreground-delete

Conversation

@SATYAsasini

@SATYAsasini SATYAsasini commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes https://github.com/devtron-labs/sprint-tasks/issues/2961

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


Ash-exp and others added 2 commits September 15, 2026 13:49
Cherry-picked from devtron-enterprise #3373.

* add FOREGROUND_DELETE_CD_PIPELINE env config
* add nullable foregroundDelete query param + resolution against env default
* skip deployed resource deletion (helm/argocd/flux) on foreground CD pipeline delete
* honor foregroundDelete in async CD pipeline delete event
* validate conflicting force/cascade/foregroundDelete options in PatchCdPipeline
* expose foregroundDeleteCdPipeline in GET /environment-variables
* renumber variable_entity_mapping_index 36504600 -> 36704600 (36504600 was duplicated with add_ci_workflow_active_status_index)
* add empty placeholder 36604600_approval_declined_notification (enterprise-only feature)
@bito-code-review

Copy link
Copy Markdown

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews. To trigger review, type /review in the comment and save. You can change the settings here, or contact the agent instance creator at shivam@devtron.ai.

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@sonarqubecloud

Copy link
Copy Markdown

@SATYAsasini SATYAsasini changed the title Feat migration foreground delete feat: migrate foreground delete on cd pipeline delete from ent to oss Sep 15, 2026
@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@SATYAsasini
SATYAsasini merged commit 34b39c5 into develop Sep 15, 2026
8 of 10 checks passed
@SATYAsasini
SATYAsasini deleted the feat-migration-foreground-delete branch September 15, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants