-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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(taskworker): Make auth taskworker compatible #88336
Conversation
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 #88336 +/- ##
==========================================
- Coverage 87.73% 87.73% -0.01%
==========================================
Files 10008 10002 -6
Lines 566780 566570 -210
Branches 22271 22223 -48
==========================================
- Hits 497290 497088 -202
+ Misses 69071 69064 -7
+ Partials 419 418 -1 |
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.
LGTM
@@ -0,0 +1,4 @@ | |||
from sentry.taskworker.registry import TaskNamespace, taskregistry |
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 could move this file and the auth tasks to sentry.auth.tasks
(can be done separately). That would avoid the duplicate segment in the import path.
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). * Move `auth` and `check_auth` into `/auth` directory * Add auth namespaces and rollout options
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.
auth
andcheck_auth
into/auth
directory