-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
ref(cells): Remove the legacy org invite route #112135
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3782,11 +3782,6 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]: | |
| DataExportNotificationsEndpoint.as_view(), | ||
| name="sentry-api-0-data-export-notifications", | ||
| ), | ||
| re_path( | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Backend route removal breaks frontend invite fallback pathMedium Severity The removed |
||
| r"^accept-invite/(?P<member_id>[^/]+)/(?P<token>[^/]+)/$", | ||
| AcceptOrganizationInvite.as_view(), | ||
| name="sentry-api-0-accept-organization-invite", | ||
| ), | ||
| re_path( | ||
| r"^notification-defaults/$", | ||
|
Comment on lines
3783
to
3786
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The removal of a legacy API invite endpoint is incomplete. Frontend code and backend tests still reference the deleted route, which will break user-facing functionality and CI tests. Suggested FixUpdate the frontend component in Prompt for AI AgentDid we get this right? 👍 / 👎 to inform future reviews.
Comment on lines
3783
to
3786
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The backend route for legacy organization invites ( Suggested FixThe frontend code in Prompt for AI Agent |
||
| NotificationDefaultsEndpoints.as_view(), | ||
|
|
||


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.
Removed URL route still referenced in test helpers
High Severity
The deleted URL route named
sentry-api-0-accept-organization-inviteis still referenced intests/sentry/api/endpoints/test_accept_organization_invite.py— in_get_paths()(line 39),_get_urls()(line 52), and a directreverse()call (line 208). These helpers are used by nearly every test inAcceptInviteTest, so removing the route without updating the tests will causeNoReverseMatchfailures across the entire test class.