Skip to content

Conversation

@e11sy
Copy link
Contributor

@e11sy e11sy commented Mar 14, 2025

Changes

  • Now grouper has access to accounts database
  • Added method to get event pattern list for a project
  • Added method to get matching pattern for event (from project patterns list)
  • Added logic for grouping events by pattern

Additional

Remove cache key on event saving to database

Note

this is part of global work on Event Manual Grouping feature, check related prs
GARAGE: codex-team/hawk.garage#677
API: codex-team/hawk.api.nodejs#478
TYPES: codex-team/hawk.types#46 - already merged

* If there is no first event for pattern, then just save event as first
*/
if (matchingPattern !== null) {
const originalEvent = await this.eventsDb.getConnection()
Copy link
Member

Choose a reason for hiding this comment

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

Let's cache it

@e11sy e11sy merged commit 6fafa98 into master Mar 21, 2025
6 checks passed
@e11sy e11sy deleted the manual-event-grouping branch March 21, 2025 15:28
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.

3 participants