-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
ref(similarity): Typing and remove feature flag #81977
Conversation
Changes: * Fully typed functions * Extract minor function * Always remove the current project from the cohort * This will prevent a project getting stuck in backfill
src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py
Outdated
Show resolved
Hide resolved
src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py
Outdated
Show resolved
Hide resolved
@@ -109,13 +100,6 @@ def backfill_seer_grouping_records_for_project( | |||
last_processed_group_id_input, | |||
last_processed_project_index_input, | |||
) | |||
except FeatureError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not need it since the feature is fully enabled.
src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #81977 +/- ##
========================================
Coverage 80.35% 80.36%
========================================
Files 7279 7275 -4
Lines 321306 321172 -134
Branches 20957 20933 -24
========================================
- Hits 258200 258110 -90
+ Misses 62692 62651 -41
+ Partials 414 411 -3 |
I have removed the fix. I got frustrated with the tests. I will try again another time. |
Changes: