Repository navigation
Prepare 0.34.1 - #5556
Merged
Merged
Prepare 0.34.1#5556
Conversation
Spaceman1701
force-pushed
the
prepare-0.34.1
branch
2 times, most recently
from
September 11, 2026 10:23
2291dc9 to
4a5bca5
Compare
SoloJacobs
requested changes
Sep 12, 2026
Spaceman1701
force-pushed
the
prepare-0.34.1
branch
from
September 16, 2026 09:20
4a5bca5 to
70d2466
Compare
…s#5468) chore(deps): bump golang.org/x/mod to fix CVEs Signed-off-by: Mostafa-Yehia <[email protected]> Signed-off-by: Ethan Hunter <[email protected]>
This fix is based on HRT's inhibitor implementation. It updates the index so that each equal-labels key holds a `FingerprintSet` instead of a `Fingerprint` so that the index stores _every_ matching source alert instead of _one_ matching source alert. This allows the inhibitor to search through all the alerts in the index for the set of equal-labels to select the best candidate. Worst case, this does degrade inhibitor performance to `O(n)`, but in practice it should be similar to today (since the first element of the set is most likely a viable candidate). ```release-notes [BUGFIX] fix various issues with the inhibitor improperly skipping inhibits when the indexed source alert is resolved but other alerts are present. ``` --------- Signed-off-by: Ethan Hunter <[email protected]>
…#5449) Signed-off-by: Ethan Hunter <[email protected]>
…#5559) This change replaces the `store.Alerts` with a new `cache` type in the inhibitor. The `cache` is essentially a merged `store.Alerts` and inhibitor `index` that work under a single lock. This allows operations to modify the cache and index atomically, solving a bunch of possible race conditions in the Inhibitor. I believe that this resolves the last problems caught by the new tests added in prometheus#5449. ```release-notes [BUGFIX]: Fix a race condition where the inhibitor could get into a bad state and fail to inhibit some alerts in some circumstances ``` Signed-off-by: Ethan Hunter <[email protected]>
Signed-off-by: Ethan Hunter <[email protected]>
Spaceman1701
force-pushed
the
prepare-0.34.1
branch
from
September 16, 2026 09:22
70d2466 to
b373ee4
Compare
Fixes GO-2026-6348 Signed-off-by: Solomon Jacobs <[email protected]>
SoloJacobs
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepare 0.34.1 with the inhibitor fixes from #5542, #5449, #5559 and dependency updates from #5468