Skip to content
Snippets Groups Projects

Auto-disable failing webhooks

Merged 🤖 GitLab Bot 🤖 requested to merge g.hickman/integrations_8083 into master
Files
2
---
---
features:
features:
secondary:
secondary:
- name: "Auto-disable Failing Webhooks"
- name: "Automatic disabling of 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.
To protect GitLab and users across the system from the potential abuse or misuse of a small few, we've implemented 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. These webhooks are initially disabled for 10 minutes, which is extended on each retry up to a maximum of 24 hours.
 
- Webhooks that fail with `4xx` errors are permanently disabled.
 
 
All project owners and maintainers are alerted in the app and can investigate and re-enable any failed webhooks.
Loading