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

Feat: Delete known-orphaned Superset assets #370

Closed
bmtcril opened this issue Sep 11, 2023 · 0 comments · Fixed by #950
Closed

Feat: Delete known-orphaned Superset assets #370

bmtcril opened this issue Sep 11, 2023 · 0 comments · Fixed by #950
Assignees
Labels
enhancement Relates to new features or improvements to existing features

Comments

@bmtcril
Copy link
Contributor

bmtcril commented Sep 11, 2023

Right now if we re-export a dashboard and an old chart is no longer on it, that chart will live forever in a live system unless the operator manually deletes it. I think we can have a way to remove known-orphaned charts or dashboards by having a file that tracks all IDs that have been released and then subsequently orphaned. I think we'd have to maintain this manually, but it's easy to add ids that have been missed.

I'm thinking a yaml file that just stores a dict of types (dashboard, chart, etc) and a small script that loops through them and calls the API to delete them, similar to how we do import. It can eat errors if the id already doesn't exist.

@bmtcril bmtcril added the enhancement Relates to new features or improvements to existing features label Sep 11, 2023
@saraburns1 saraburns1 self-assigned this Sep 13, 2024
@github-project-automation github-project-automation bot moved this from Doing to Done in Data Working Group Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Relates to new features or improvements to existing features
Projects
2 participants