Skip to content

Don't create event in Merge Request Create Service

Jarka Kadlecova requested to merge 36465-duplicate-events into master

What does this MR do?

It does not create a new event in MergeRequests::CreateService because the event is created afterwards in the NewMergeRequestWorker.

It also contains a migration that removes duplicated records.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

The creation of events in both service and worker caused duplicated events when a new MR is created

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #36465 (closed)

Merge request reports