Skip to content

GitLab webhook handler

Craig Furman requested to merge craigf/gitlab-webhooks into master

I'd recommend reviewing this commit by commit, as it contains a few refactors and tweaks that are only tangentially related to the core feature: receiving gitlab issue webhooks and posting updates to a slack channel.

This differs a bit from the implementation in https://ops.gitlab.net/gitlab-com/gl-infra/incident-management/blob/master/incident-declare-handler.js#L222: it doesn't do anything when the title/description are updated. I figured this was noisy, but need to gauge opinion in the SRE survey (which I will do very soon).

Unrelatedly, it adds a "page the EOC" box to /woodhouse incident declare, intended for use by non-calls when reporting an incident.


Related: https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11298

Merge request reports