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

Fix inability to update managed ML alerts #1684

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

csmarchbanks
Copy link
Contributor

@csmarchbanks csmarchbanks commented Jul 15, 2024

The ID field was not being populated by the plan so we were attempting
to create a new alert instead of updating the existing alert. Adding the
UseStateForUnknown plan modifier fixes this.

Fixes: #1681

@csmarchbanks csmarchbanks requested review from a team as code owners July 15, 2024 17:58
Copy link

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@csmarchbanks csmarchbanks force-pushed the ml-alerts-fix-updating branch from 3d031bd to a455c0f Compare July 15, 2024 18:03
The ID field was not being populated by the plan so we were attempting
to create a new alert instead of updating the existing alert. Adding the
UseStateForUnknown plan modifier fixes this.
@csmarchbanks csmarchbanks force-pushed the ml-alerts-fix-updating branch from a455c0f to f7a66d4 Compare July 15, 2024 19:06
@julienduchesne julienduchesne merged commit 332bb22 into main Jul 15, 2024
27 checks passed
@julienduchesne julienduchesne deleted the ml-alerts-fix-updating branch July 15, 2024 19:15
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.

[Bug]: Unable to Update a ML Alert after creation
2 participants