-
Notifications
You must be signed in to change notification settings - Fork 13.3k
fix: delete provisioned dashboard in unified if forceDeleteRules is set #113839
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
fix: delete provisioned dashboard in unified if forceDeleteRules is set #113839
Conversation
733da2f to
baa284a
Compare
baa284a to
74776b3
Compare
74776b3 to
5c95d3c
Compare
mustafasencer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| GVR: gvr, | ||
| }) | ||
|
|
||
| time.Sleep(1 * time.Second) // Give provisioner time to process |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit - do we imperatively need this? We are already using EventuallyWithT just below for up to 10 seconds. Just saying because the folder integration tests already take a lot of time (+150s) to complete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's needed, other provisioning tests were doing and the EventuallyWithT together so I got it from there.
Removed
Outdated/addressed comment
|
🚀 Your submission is now being built and packaged.
|
What is this feature?
Matches behavior between legacy and unified storage delete path on legacy API when
forceDeleteRulesis set.Why do we need this feature?
To address data mismatches between storages when deleting provisioned dashboards.
Who is this feature for?
Grafana users that have provisioned folders and dashboards.
Which issue(s) does this PR fix?:
User cannot delete provisioned dashboards in unified when using forceDeleteRules=true , this is a mismatch of behavior with legacy and since we delete in legacy first then the mismatch occurs.
Special notes for your reviewer:
Please check that: