Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ignore softDelete data source when deleting a workspace #11442

Merged
merged 2 commits into from
Mar 18, 2025

Conversation

flvndvd
Copy link
Contributor

@flvndvd flvndvd commented Mar 18, 2025

Description

This PR fixes this failing workspace deletion.

We leverage the existing deletion workspace code to purge data for relocated workspaces, this code assert that data sources must be soft deleted before, which isn't true when deleting a workspace. This PR updates the logic to first soft delete data source views and data sources.

Tests

Risk

Deploy Plan

@flvndvd flvndvd marked this pull request as ready for review March 18, 2025 13:18
Copy link
Contributor

@philipperolet philipperolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks

@flvndvd flvndvd merged commit d421072 into main Mar 18, 2025
6 checks passed
@flvndvd flvndvd deleted the flav/ignore-soft-delete-ds branch March 18, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants