Skip to content

Commit 1d90aad

Browse files
joanagmaiaclaude
andcommitted
fix: classify merged gitlab MRs as MERGE_REQUEST_MERGED (CM-1298)
API ingestion was emitting MERGE_REQUEST_CLOSED for merge requests with a merged_at timestamp, so MERGE_REQUEST_MERGED activities never landed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
1 parent f07fc1b commit 1d90aad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/libs/integrations/src/integrations/gitlab/processStream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const handleMergeRequestsStream: GitlabStreamHandler = async (ctx, api, data) =>
192192
data: item.data,
193193
user,
194194
},
195-
type: GitlabActivityType.MERGE_REQUEST_CLOSED,
195+
type: GitlabActivityType.MERGE_REQUEST_MERGED,
196196
projectId: data.projectId,
197197
pathWithNamespace: data.pathWithNamespace,
198198
})

0 commit comments

Comments
 (0)