Skip to content

fix: Delete widgets when a dashboard is removed#6416

Merged
pnrgenc merged 3 commits intomasterfrom
fix-delete-widgets-when-dashboard-deleted
Jul 21, 2025
Merged

fix: Delete widgets when a dashboard is removed#6416
pnrgenc merged 3 commits intomasterfrom
fix-delete-widgets-when-dashboard-deleted

Conversation

@pnrgenc
Copy link
Member

@pnrgenc pnrgenc commented Jul 16, 2025

No description provided.

Enhanced the script to accurately identify and delete only unreferenced long_tasks when removing orphan widgets, supporting multiple widget types and their report fields. Updated dashboard deletion API to ensure widgets and their linked long_tasks are deleted individually, and improved error handling for missing dashboards.
@pnrgenc pnrgenc requested a review from widatama July 18, 2025 08:02
@pnrgenc pnrgenc merged commit c947b78 into master Jul 21, 2025
9 of 10 checks passed
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.

4 participants