`dac` workflow: should allow removing the deleted dashboards
Nobody has claimed this yet.
- Dominant language
- CUE
- Stars
- 2
- Forks
- 2
- Avg merge
- 6d 12h
- Merged PRs (30d)
- 2
Description
Currently if a dashboard file is removed it won't trigger the deletion of the dashboard on Perses side. The dashboards have to be cleaned up manually. This also means that after renaming a dashboard (metadata name, not display name) a new dashboard gets created & you leave behind an old duplicate, until you delete it. This is not very convenient, especially at scale, so we should think about a solution to handle this.
NB: Preview & Diff stages may require adjustments to handle this case too.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the dac workflow and trace how dashboard files are discovered and applied to Perses. Then inspect the Preview and Diff stages for assumptions about deleted or renamed dashboards; done means removed dashboards are deleted and renamed dashboards do not leave duplicates, with those stages handling the case consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100