Skip to content

Cherry pick 0.32.3 - #5366

Merged
Spaceman1701 merged 5 commits into
prometheus:release-0.32from
Spaceman1701:cherry-pick-0.32.3
Jul 4, 2026
Merged

Cherry pick 0.32.3#5366
Spaceman1701 merged 5 commits into
prometheus:release-0.32from
Spaceman1701:cherry-pick-0.32.3

Conversation

@Spaceman1701

Copy link
Copy Markdown
Contributor

cherry picks the changes in #5364 into release-0.32

Spaceman1701 and others added 3 commits July 2, 2026 22:29
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
…theus#5330)

Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
GettableSilenceFromProto left the Matchers field as a nil slice when a
silence had no matcher sets, only ever populating it via append. Go's
encoding/json marshals a nil slice as null, so such silences were
serialized as "matchers": null. The OpenAPI schema declares matchers as
a required array, so an empty silence should serialize as [] instead.

Initialize Matchers to an empty slice so the field is always a valid JSON
array, keeping the v2 API schema-compliant for matcher-less silences.

Related to prometheus#5326

Signed-off-by: Siavash Safi <siavash@cloudflare.com>
@Spaceman1701
Spaceman1701 requested a review from a team as a code owner July 3, 2026 02:31
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

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: 374f29e2-4faa-4c08-bc3f-c948d82f2f1e

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.

Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
Signed-off-by: Ethan Hunter <ehunter@hudson-trading.com>
@Spaceman1701
Spaceman1701 merged commit 586ba3d into prometheus:release-0.32 Jul 4, 2026
8 checks passed
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