ref(issues): Move multiple endpoints and tests to issues folder#97428
Merged
ref(issues): Move multiple endpoints and tests to issues folder#97428
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #97428 +/- ##
==========================================
+ Coverage 79.13% 80.64% +1.50%
==========================================
Files 8564 8564
Lines 377171 377170 -1
Branches 24562 24562
==========================================
+ Hits 298488 304180 +5692
+ Misses 78317 72624 -5693
Partials 366 366 |
9c02a31 to
205d2e9
Compare
- Move group_attachments, team_all_unresolved_issues, team_issue_breakdown, organization_event_details, organization_issues_resolved_in_release endpoints to issues/endpoints/ - Move issue_search module from api/ to issues/ - Move corresponding test files to tests/sentry/issues/endpoints/ - Update all import references in api/urls.py and other affected files refs https://linear.app/getsentry/issue/RTC-1110/move-issues-endpoints-into-issues-app
4648630 to
987ecaf
Compare
evanpurkhiser
approved these changes
Aug 11, 2025
andrewshie-sentry
pushed a commit
that referenced
this pull request
Aug 12, 2025
## Summary Move multiple issue-related endpoints and the `issue_search` module from the API package to the issues package to better organize the codebase. ### Files Moved: **Endpoints:** - `group_attachments.py` - `team_all_unresolved_issues.py` - `team_issue_breakdown.py` - `organization_event_details.py` - `organization_issues_resolved_in_release.py` - `issue_search.py` (module) **Tests:** - `test_group_attachments.py` - `test_team_all_unresolved_issues.py` - `test_team_issue_breakdown.py` - `test_issue_search.py` ### Changes: - Updated all import references in `src/sentry/api/urls.py` - Updated imports in affected source files and tests - Maintained all existing functionality - Added proper type annotations to moved test files refs https://linear.app/getsentry/issue/RTC-1110/move-issues-endpoints-into-issues-app
priscilawebdev
pushed a commit
that referenced
this pull request
Aug 25, 2025
## Summary Move multiple issue-related endpoints and the `issue_search` module from the API package to the issues package to better organize the codebase. ### Files Moved: **Endpoints:** - `group_attachments.py` - `team_all_unresolved_issues.py` - `team_issue_breakdown.py` - `organization_event_details.py` - `organization_issues_resolved_in_release.py` - `issue_search.py` (module) **Tests:** - `test_group_attachments.py` - `test_team_all_unresolved_issues.py` - `test_team_issue_breakdown.py` - `test_issue_search.py` ### Changes: - Updated all import references in `src/sentry/api/urls.py` - Updated imports in affected source files and tests - Maintained all existing functionality - Added proper type annotations to moved test files refs https://linear.app/getsentry/issue/RTC-1110/move-issues-endpoints-into-issues-app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move multiple issue-related endpoints and the
issue_searchmodule from the API package to the issues package to better organize the codebase.Files Moved:
Endpoints:
group_attachments.pyteam_all_unresolved_issues.pyteam_issue_breakdown.pyorganization_event_details.pyorganization_issues_resolved_in_release.pyissue_search.py(module)Tests:
test_group_attachments.pytest_team_all_unresolved_issues.pytest_team_issue_breakdown.pytest_issue_search.pyChanges:
src/sentry/api/urls.pyrefs https://linear.app/getsentry/issue/RTC-1110/move-issues-endpoints-into-issues-app