Skip to content

MockWebhook: track shutdown status more gracefully#4761

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

MockWebhook: track shutdown status more gracefully#4761
SuperQ merged 2 commits intoprometheus:mainfrom
ultrotter:webhookcloseracecondition1

Conversation

@ultrotter
Copy link
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 <guido@hudson-trading.com>
@ultrotter ultrotter marked this pull request as draft November 21, 2025 15:48
Signed-off-by: Guido Trotter <guido@hudson-trading.com>
@siavashs siavashs requested a review from SuperQ November 21, 2025 16:36
@SuperQ SuperQ merged commit e542c68 into prometheus:main Nov 21, 2025
7 checks passed
@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