Skip to content

Conversation

jake-ciolek
Copy link
Contributor

Cherry-picked fix: make webhook payload handlers recover from panics (#24862)

Add a small guard that recovers and logs the panic and stack trace.

Cover both the api-server and applicationset-controller webhooks.

Signed-off-by: Jakub Ciolek <[email protected]>
This makes the signature more explicit.

Signed-off-by: Jakub Ciolek <[email protected]>
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.41%. Comparing base (9b7bf3e) to head (99c6ede).

Additional details and impacted files
@@              Coverage Diff              @@
##           release-2.14   #24926   +/-   ##
=============================================
  Coverage         55.41%   55.41%           
=============================================
  Files               339      340    +1     
  Lines             57499    57508    +9     
=============================================
+ Hits              31864    31869    +5     
- Misses            22927    22930    +3     
- Partials           2708     2709    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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