Skip to content

Conversation

JoshFerge
Copy link
Member

@JoshFerge JoshFerge commented Sep 3, 2025

Summary

  • Move src/sentry/stacktraces/ directory to src/sentry/issues/stacktraces/
  • Move tests/sentry/stacktraces/ directory to tests/sentry/issues/stacktraces/
  • Update all import references from sentry.stacktraces to sentry.issues.stacktraces
  • Update pyproject.toml references to the new path

The stacktraces module contains functionality for processing and handling stack trace data for issues, making it a logical fit within the issues folder structure.

Files moved

Source files:

  • src/sentry/stacktraces/__init__.pysrc/sentry/issues/stacktraces/__init__.py
  • src/sentry/stacktraces/functions.pysrc/sentry/issues/stacktraces/functions.py
  • src/sentry/stacktraces/platform.pysrc/sentry/issues/stacktraces/platform.py
  • src/sentry/stacktraces/processing.pysrc/sentry/issues/stacktraces/processing.py

Test files:

  • tests/sentry/stacktraces/__init__.pytests/sentry/issues/stacktraces/__init__.py
  • tests/sentry/stacktraces/test_filename.pytests/sentry/issues/stacktraces/test_filename.py
  • tests/sentry/stacktraces/test_functions.pytests/sentry/issues/stacktraces/test_functions.py
  • tests/sentry/stacktraces/test_in_app_normalization.pytests/sentry/issues/stacktraces/test_in_app_normalization.py
  • tests/sentry/stacktraces/test_platform.pytests/sentry/issues/stacktraces/test_platform.py

Test plan

  • All imports updated successfully across 37 files
  • Files compile without errors
  • All pre-commit hooks pass
  • MyPy type checking passes

part of https://linear.app/getsentry/issue/RTC-1110/move-issues-endpoints-into-issues-app

@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Sep 3, 2025
@JoshFerge JoshFerge force-pushed the jferg/move-stacktraces branch from 2ad4350 to 50c946d Compare September 3, 2025 18:01
@getsentry getsentry deleted a comment from github-actions bot Sep 3, 2025
@JoshFerge JoshFerge force-pushed the jferg/move-stacktraces branch from 50c946d to d9d58a2 Compare September 3, 2025 19:49
Copy link

linear bot commented Sep 3, 2025

Copy link

codecov bot commented Sep 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #98732      +/-   ##
==========================================
- Coverage   81.23%   81.22%   -0.01%     
==========================================
  Files        8531     8531              
  Lines      376386   376384       -2     
  Branches    23838    23838              
==========================================
- Hits       305742   305725      -17     
- Misses      70277    70292      +15     
  Partials      367      367              

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant