Skip to content

MockWebhook: track shutdown status more gracefully - #4761

Merged
SuperQ merged 2 commits into
prometheus:mainfrom
ultrotter:webhookcloseracecondition1
Nov 21, 2025
Merged

SuperQ merged 2 commits into
prometheus:mainfrom
ultrotter:webhookcloseracecondition1

Conversation

@ultrotter

Copy link
Copy Markdown
Contributor

When we close the server sometimes the messages are interrupted and can't be decoded by the webhook. This change accepts any decoding failure after server shutdown.

When we close the server sometimes the messages are interrupted and
can't be decoded by the webhook. This change accepts any decoding
failure after server shutdown.

Signed-off-by: Guido Trotter <[email protected]>
@ultrotter
ultrotter marked this pull request as draft November 21, 2025 15:48
@siavashs siavashs mentioned this pull request Nov 21, 2025
8 of 11 tasks
@siavashs
siavashs requested a review from SuperQ November 21, 2025 16:36
@SuperQ
SuperQ merged commit e542c68 into prometheus:main Nov 21, 2025
@ultrotter
ultrotter deleted the webhookcloseracecondition1 branch December 3, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants