Skip to content
Snippets Groups Projects

Auto-disable failing webhooks

Merged 🤖 GitLab Bot 🤖 requested to merge g.hickman/integrations_8083 into master
1 unresolved thread
Files
3
---
features:
secondary:
- name: "Auto-disable Failing Webhooks"
- name: "Automatic disabling of failing webhooks"
available_in: [core, premium, ultimate]
gitlab_com: true
documentation_link: 'https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#failing-webhooks'
image_url: '/images/unreleased/webhook_disabled_alert.png'
reporter: g.hickman
stage: ecosystem
categories: []
categories:
- Integrations
epic_url: 'https://gitlab.com/groups/gitlab-org/-/epics/8083'
description: |
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.
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. 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.
- 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