argo-events icon indicating copy to clipboard operation
argo-events copied to clipboard

Duplicated Gitlab webhooks when using Eventsource with HA

Open paolocarta opened this issue 1 year ago • 18 comments

Describe the bug

I have an EventSource with 2 replicas for different Gitlab events. The EventSource is responsible for creating the webhooks on the configured repos. When having HA we see duplicated webhooks, probably due to some concurrency issues between the replicas.

To Reproduce Steps to reproduce the behavior:

  1. Create an EventSource with 2 replicas
  2. Create a Gitlab event which creates a webhook
  3. You will notice often duplicated hooks

Expected behavior I would expect not seeing duplicated webhooks in the repo.

Screenshots Screen Shot 2023-06-27 at 4 40 15 PM

Environment:

  • Argo: v3.4.7
  • Argo Events: v1.7.6

Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

paolocarta avatar Jun 27 '23 14:06 paolocarta