Skip to content
Snippets Groups Projects

Auto-disable failing webhooks

Merged 🤖 GitLab Bot 🤖 requested to merge g.hickman/integrations_8083 into master
@@ -4,12 +4,12 @@ features:
@@ -4,12 +4,12 @@ features:
- name: "Auto-disable Failing Webhooks"
- name: "Auto-disable Failing Webhooks"
available_in: [core, premium, ultimate]
available_in: [core, premium, ultimate]
gitlab_com: true
gitlab_com: true
documentation_link: 'https://docs.gitlab.com/ee/#amazing'
documentation_link: 'https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#failing-webhooks'
reporter: g.hickman
reporter: g.hickman
stage: ecosystem
stage: ecosystem
categories: []
categories: []
epic_url: 'https://gitlab.com/groups/gitlab-org/-/epics/8083'
epic_url: 'https://gitlab.com/groups/gitlab-org/-/epics/8083'
description: |
description: |
In order to protect the GitLab and users across the system from the potential abuse or misuse of a small few, we'll be implementing a feature to disable webhooks that fail consistently.
In order to protect GitLab and users across the system from the potential abuse or misuse of a small few, we'll be implementing a feature to disable webhooks that fail consistently.
Webhooks that return response codes in the 5xx range are understood to be failing intermittently, and are temporarily disabled. This lasts initially for 10 minutes. If the hook continues to fail, the back-off period is extended on each retry, up to a maximum disabled period of 24 hours. Webhooks that fail with 4xx errors will be disabled and a project owner or maintainer will be alerted in-app and directed to the webhooks page where they may investigate and re-enable failed webhooks.
Webhooks that return response codes in the `5xx` range are understood to be failing intermittently, and are temporarily disabled. This lasts initially for 10 minutes. If the hook continues to fail, the back-off period is extended on each retry, up to a maximum disabled period of 24 hours. Webhooks that fail with `4xx` errors will be disabled. All project owners and maintainers will be alerted in-app and directed to the webhooks page where they may investigate and re-enable any failed webhooks.
Loading