Skip to content

Remove the delete_timeseries part of Repo deletion #1278

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Apr 9, 2025

A while back in codecov/worker#1091, I added the timeseries cleanup/deletion to the more general Repository cleanup logic.

With that change, it is not necessary anymore to call a separate task to delete all the associated timeseries data.

However, there is still a delete_component_measurements call, which triggers deletion for a more focussed subset of timeseries data. So the task code itself still lives on for another day.

@Swatinem Swatinem requested a review from a team April 9, 2025 12:04
@Swatinem Swatinem self-assigned this Apr 9, 2025
Copy link
Contributor

sentry-autofix bot commented Apr 9, 2025

✅ Sentry found no issues in your recent changes ✅

@codecov-notifications
Copy link

codecov-notifications bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.35%. Comparing base (600412a) to head (450c7d2).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1278   +/-   ##
=======================================
  Coverage   96.34%   96.35%           
=======================================
  Files         488      488           
  Lines       16930    16926    -4     
=======================================
- Hits        16312    16309    -3     
+ Misses        618      617    -1     
Flag Coverage Δ
unit 96.35% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

A while back in codecov/worker#1091, I added the timeseries cleanup/deletion to the more general `Repository` cleanup logic.

With that change, it is not necessary anymore to call a separate task to delete all the associated timeseries data.
@Swatinem Swatinem force-pushed the swatinem/rm-deletetimeseries branch from a2680c2 to 450c7d2 Compare April 10, 2025 10:51
@Swatinem Swatinem enabled auto-merge April 10, 2025 10:51
@Swatinem Swatinem added this pull request to the merge queue Apr 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 10, 2025
@Swatinem Swatinem added this pull request to the merge queue Apr 10, 2025
Merged via the queue into main with commit eaf9258 Apr 10, 2025
23 of 24 checks passed
@Swatinem Swatinem deleted the swatinem/rm-deletetimeseries branch April 10, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants