Skip to content

Conversation

@cathteng
Copy link
Member

@cathteng cathteng commented Dec 3, 2024

Workflow

  • Add frequency, which corresponds to Rule frequency aka how often an issue alert fires for a group

@cathteng cathteng requested a review from a team December 3, 2024 18:46
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 3, 2024
@codecov
Copy link

codecov bot commented Dec 3, 2024

❌ 843 Tests Failed:

Tests completed Failed Passed Skipped
23257 843 22414 213
View the top 3 failed tests by shortest run time
tests.snuba.api.endpoints.test_organization_tags.OrganizationTagsTest::test_invalid_dataset
Stack Traces | 0.006s run time
No failure message available
tests.snuba.search.test_backend.EventsSnubaSearchTest::test_sort
Stack Traces | 0.006s run time
No failure message available
tests.snuba.search.test_backend.EventsTransactionsSnubaSearchTest::test_perf_issue_search_message_term_queries_postgres
Stack Traces | 0.006s run time
No failure message available

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!


created_by_id = HybridCloudForeignKey(settings.AUTH_USER_MODEL, null=True, on_delete="SET_NULL")

frequency = models.IntegerField(default=DEFAULT_FREQUENCY)
Copy link
Contributor

Choose a reason for hiding this comment

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

fyi, we removed this from the other db migration because this only applies to issue alerts, instead we can make a subclass an ad the frequency to the config property.

Here's a link to that discussion: #80710 (comment) / why it wasn't added.

Copy link
Member Author

Choose a reason for hiding this comment

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

oh i missed that, thanks!

@cathteng
Copy link
Member Author

cathteng commented Dec 3, 2024

we can put this in the Workflow config instead. it's only useful for issue alerts so we can have custom logic to pull it out and apply it.

@cathteng cathteng closed this Dec 3, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2024
@cathteng cathteng deleted the cathy/workflow-engine/changes branch December 23, 2024 16:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants