Skip to content

Conversation

@e11sy
Copy link
Contributor

@e11sy e11sy commented Nov 7, 2025

Problem

  • Now repetitions that have original event (same by payload.title and projectId) are not grouped by grouping patterns

Solution

  • Fins similar by grouping pattern events before finding by exact same title
  • Cover with memoization util to avoid redundant db calls

});

describe('dynamic pattern addition', () => {
test('should group events firslty by pattern, secondly by grouphash', async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
test('should group events firslty by pattern, secondly by grouphash', async () => {
test('should group events when pattern added after we received the first event', async () => {

slaveeks
slaveeks previously approved these changes Nov 8, 2025
neSpecc
neSpecc previously approved these changes Nov 8, 2025
@e11sy e11sy dismissed stale reviews from neSpecc and slaveeks via ea557b9 November 8, 2025 17:41
@e11sy e11sy merged commit d78e324 into master Nov 8, 2025
4 checks passed
@e11sy e11sy deleted the fix-patterns-grouping branch November 8, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants