perses / perses/cli-actions

`dac` workflow: should allow removing the deleted dashboards

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.