Skip to content
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

feat(taskworkers): Make alerts taskworker compatible #88696

Merged
merged 4 commits into from
Apr 3, 2025

Conversation

enochtangg
Copy link
Member

This work is required to migrate tasks from celery to the new taskbroker system. The sentry option will be used to control the rollout of these tasks. The full migration plan is describe in this document.

Notes:

@enochtangg enochtangg requested review from a team as code owners April 3, 2025 16:28
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 3, 2025
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/incidents/tasks.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #88696      +/-   ##
==========================================
+ Coverage   84.59%   87.73%   +3.13%     
==========================================
  Files       10054    10055       +1     
  Lines      568655   568791     +136     
  Branches    22322    22322              
==========================================
+ Hits       481054   499006   +17952     
+ Misses      87222    69406   -17816     
  Partials      379      379              

@enochtangg enochtangg merged commit b323dae into master Apr 3, 2025
47 checks passed
@enochtangg enochtangg deleted the migrate-alerts-taskworker branch April 3, 2025 20:09
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
This work is required to migrate tasks from celery to the new taskbroker
system. The sentry option will be used to control the rollout of these
tasks. The full migration plan is describe in this
[document](https://www.notion.so/sentry/Rollout-Planning-1bd8b10e4b5d80aeaaa7dba0efca83bc).

### Notes:
- Updates `auto_resolve_snapshot_incidents` tasks to only produce task
after incident status is updated
- Depends on #88639 which fixes
countdown for the rest of the snuba subscription tasks

---------

Co-authored-by: Mark Story <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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