Skip to content

Conversation

@armenzg
Copy link
Member

@armenzg armenzg commented Nov 25, 2025

Scheduled deletions can take a long time, we should retry the task if we time out.

I know that it will be retried on the next reattempt deletions schedule but I want to make a lot more progress during the two hours window (5 re-attempts for 20 minutes each run).

Fixes SENTRY-41GE.

Scheduled deletions can take a long time, we should retry the task if we time out.

Fixes [SENTRY-41GE](https://sentry.sentry.io/issues/6683627821/).
@armenzg armenzg self-assigned this Nov 25, 2025
@armenzg armenzg requested a review from markstory November 25, 2025 13:40
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 25, 2025
@armenzg armenzg marked this pull request as ready for review November 25, 2025 13:40
@codecov
Copy link

codecov bot commented Nov 25, 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   #103966   +/-   ##
========================================
  Coverage   80.61%    80.62%           
========================================
  Files        9311      9311           
  Lines      397320    397332   +12     
  Branches    25338     25338           
========================================
+ Hits       320297    320342   +45     
+ Misses      76582     76549   -33     
  Partials      441       441           

markstory
markstory previously approved these changes Nov 25, 2025
@markstory markstory dismissed their stale review November 25, 2025 15:10

there is a change that needs to be made first.

Co-authored-by: Mark Story <mark@mark-story.com>
@armenzg armenzg requested a review from markstory November 25, 2025 15:29
@armenzg armenzg merged commit ef69a85 into master Nov 25, 2025
67 checks passed
@armenzg armenzg deleted the 11_25/retry_long_running_task/scheduled_deletions/armenzg branch November 25, 2025 18:40
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants