Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix escalation chain webhooks executing when disabled #4319

Merged
merged 2 commits into from
May 7, 2024

Conversation

mderynck
Copy link
Contributor

@mderynck mderynck commented May 7, 2024

What this PR does

Fixes issue where custom webhooks that are part of an escalation chain were still being executed even though they were disabled. Now the attempt will be logged in the escalation log and noted that the webhook was disabled.

Which issue(s) this PR closes

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • Added the relevant release notes label (see labels prefixed w/ release:). These labels dictate how your PR will
    show up in the autogenerated release notes.

@mderynck mderynck added pr:no public docs Added to a PR that does not require public documentation updates release:patch PR will be added to "Other Changes" section of release notes labels May 7, 2024
@mderynck mderynck marked this pull request as ready for review May 7, 2024 16:50
@mderynck mderynck requested a review from a team as a code owner May 7, 2024 16:50
Copy link
Contributor

@matiasb matiasb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
(eventually it would be nice to know if a webhook is linked to an escalation chain, and/or flag escalation chains with "broken" steps)

@mderynck mderynck added this pull request to the merge queue May 7, 2024
Merged via the queue into dev with commit 8db285e May 7, 2024
27 checks passed
@mderynck mderynck deleted the mderynck/fix-escalation-step-webhook-disabled branch May 7, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:patch PR will be added to "Other Changes" section of release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants