sentry
sentry copied to clipboard
ref(similarity-embeddings): Update backfill script
Update the seer grouping record backfill script in the following ways:
- Add only_delete flag that makes the backfill script only delete seer grouping records and the seer similarity data from the group metadata
- Remove dry_run seer grouping record deletion
- Add logging for reaching the end of the group id list in the backfill
- Add order_by id in the group filter
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 77.86%. Comparing base (
f1e0f4f
) to head (276f5ba
). Report is 3 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #71268 +/- ##
=======================================
Coverage 77.86% 77.86%
=======================================
Files 6534 6534
Lines 291150 291167 +17
Branches 50379 50384 +5
=======================================
+ Hits 226695 226710 +15
+ Misses 58222 58220 -2
- Partials 6233 6237 +4
Files | Coverage Δ | |
---|---|---|
...ject_backfill_similar_issues_embeddings_records.py | 93.33% <100.00%> (+0.74%) |
:arrow_up: |
src/sentry/seer/utils.py | 93.15% <ø> (ø) |
|
src/sentry/tasks/backfill_seer_grouping_records.py | 92.27% <100.00%> (+0.52%) |
:arrow_up: |