Skip to content

v0.32.2 rc.0 proposed#5244

Open
ultrotter wants to merge 3 commits into
prometheus:release-0.32from
ultrotter:v0.32.2-rc.0-proposed
Open

v0.32.2 rc.0 proposed#5244
ultrotter wants to merge 3 commits into
prometheus:release-0.32from
ultrotter:v0.32.2-rc.0-proposed

Conversation

@ultrotter
Copy link
Copy Markdown
Contributor

Pull Request Checklist

Please check all the applicable boxes.

ultrotter and others added 2 commits May 18, 2026 06:53
* Fix dispatcher goroutines leak on swap

If an alertgroup is marked as destroyed, and we receive a new alert that
would go inside it, we now swap it with a new one. When we do that we
can't rely on the maintenance job to stop the old group anymore, since
it won't be present anymore in the map.

So upon a successful "swap" we need to cancel the previous alert group
that was in the map, to avoid its goroutine continuing. In addition we
also self-cancel inside the alertgroup itself, if we find it is
destroyed, so that the goroutine stops running when the first of
"doMaintenance", run on destroyed, or swapped out, happens.

In addition we fix a more unlikely deletion from the marker in
doMaintenance.

Signed-off-by: Guido Trotter <guido@hudson-trading.com>

* Add a TODO about the DeleteByGroupKey call

Signed-off-by: Guido Trotter <guido@hudson-trading.com>

---------

Signed-off-by: Guido Trotter <guido@hudson-trading.com>
Co-authored-by: Guido Trotter <guido@hudson-trading.com>
Add CHANGELOG entries.

Signed-off-by: Guido Trotter <guido@hudson-trading.com>
@ultrotter ultrotter requested a review from a team as a code owner May 18, 2026 11:02
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a9972877-7c48-4647-8f8f-d5721413e839

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Signed-off-by: Guido Trotter <guido@hudson-trading.com>
@ultrotter ultrotter changed the title V0.32.2 rc.0 proposed v0.32.2 rc.0 proposed May 18, 2026
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.

2 participants