Skip to content

Conversation

@cmanallen
Copy link
Member

When the max segment ID is null the process fails. We should exit early since if there aren't any segments to delete there's nothing to do.

@cmanallen cmanallen requested a review from a team as a code owner June 20, 2025 20:15
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 20, 2025
@codecov
Copy link

codecov bot commented Jun 20, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/replays/usecases/delete.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #93989   +/-   ##
=======================================
  Coverage   88.03%   88.03%           
=======================================
  Files       10353    10355    +2     
  Lines      598242   598252   +10     
  Branches    23233    23233           
=======================================
+ Hits       526680   526696   +16     
+ Misses      71094    71088    -6     
  Partials      468      468           

@cmanallen cmanallen merged commit ea188e2 into master Jun 20, 2025
65 checks passed
@cmanallen cmanallen deleted the cmanallen/replays-handle-null-max-segment-id branch June 20, 2025 20:36
@github-actions github-actions bot locked and limited conversation to collaborators Jul 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants