Skip to content

feat(issue-alerts): Group unique conditions #68517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 22 commits into from

Conversation

schew2381
Copy link
Contributor

@schew2381 schew2381 commented Apr 9, 2024

Done by @ceorourke in #69068 and #69167

@schew2381 schew2381 self-assigned this Apr 9, 2024
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 9, 2024
@schew2381 schew2381 changed the base branch from master to seiji/feat/create-initial-processing-method April 9, 2024 06:32
@schew2381 schew2381 force-pushed the seiji/feat/create-initial-processing-method branch from f505439 to 6dd8aeb Compare April 11, 2024 20:46
Base automatically changed from seiji/feat/create-initial-processing-method to master April 11, 2024 21:36
Copy link

codecov bot commented Apr 11, 2024

Bundle Report

Bundle size has no change ✅

Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Attention: Patch coverage is 41.91176% with 79 lines in your changes are missing coverage. Please review.

Project coverage is 79.64%. Comparing base (957bdae) to head (3c582f9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #68517      +/-   ##
==========================================
- Coverage   79.72%   79.64%   -0.09%     
==========================================
  Files        6423     6423              
  Lines      284723   284793      +70     
  Branches    49046    49061      +15     
==========================================
- Hits       226998   226818     -180     
- Misses      57327    57577     +250     
  Partials      398      398              
Files Coverage Δ
...entry/api/endpoints/project_rules_configuration.py 100.00% <100.00%> (ø)
src/sentry/buffer/redis.py 92.05% <ø> (ø)
src/sentry/rules/base.py 92.59% <100.00%> (-0.39%) ⬇️
src/sentry/rules/conditions/base.py 93.33% <100.00%> (+1.66%) ⬆️
src/sentry/rules/conditions/event_frequency.py 67.11% <82.35%> (-26.96%) ⬇️
src/sentry/rules/processing/processor.py 68.00% <25.92%> (-25.03%) ⬇️
src/sentry/rules/processing/delayed_processing.py 28.75% <20.89%> (-65.99%) ⬇️

... and 20 files with indirect coverage changes

@@ -289,7 +289,7 @@ def push_to_hash(

def get_hash(
self, model: type[models.Model], field: dict[str, models.Model | str | int]
) -> dict[str, str]:
) -> dict[str, int]:
Copy link
Member

Choose a reason for hiding this comment

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

[{'2:3': '4'}] - this is how Redis returns it to us. I could turn the value into an int before returning if that helps? For now I'm gonna leave this as it is though.

ceorourke added a commit that referenced this pull request Apr 17, 2024
Pulls out the non-functional changes from
#68517 which are mostly typing
related.
@schew2381 schew2381 closed this Apr 30, 2024
schew2381 added a commit that referenced this pull request May 1, 2024
Taken from #68517 and added as a
followup PR alongside #69068
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
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.

2 participants