Skip to content

feat(server): opportunistically prune expired recycle bin entries - #253

Merged
allenporter merged 1 commit into
mainfrom
fix/storage-cleanup-249
Oct 18, 2026
Merged

allenporter merged 1 commit into
mainfrom
fix/storage-cleanup-249

Conversation

@allenporter

@allenporter allenporter commented Sep 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #248.

Implements automatic 30-day retention pruning for the recycle bin directly inside FileService and VirtualFileSystem:

@codecov-commenter

codecov-commenter commented Sep 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.42%. Comparing base (b3321b0) to head (fa843cf).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #253      +/-   ##
==========================================
+ Coverage   91.39%   91.42%   +0.03%     
==========================================
  Files         116      116              
  Lines       12417    12427      +10     
==========================================
+ Hits        11348    11361      +13     
+ Misses       1069     1066       -3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@allenporter
allenporter force-pushed the fix/storage-cleanup-249 branch from 4d5ddfe to 8a49453 Compare October 18, 2026 20:03
@allenporter allenporter changed the title feat(server): add periodic background cleanup for storage temp staging, upload chunks, and recycle bin (#249, #248) feat(server): scheduled background cleanup services, Prometheus metrics, and admin trigger endpoint (#249, #248) Oct 18, 2026
@allenporter
allenporter force-pushed the fix/storage-cleanup-249 branch from 8a49453 to cfef5cd Compare October 18, 2026 20:26
@allenporter allenporter changed the title feat(server): scheduled background cleanup services, Prometheus metrics, and admin trigger endpoint (#249, #248) feat(server): automated recycle bin retention cleanup, bounded batching, and admin trigger endpoint (#249, #248) Oct 18, 2026
@allenporter
allenporter changed the base branch from main to feat/blob-refcount-and-derived-data-purge October 18, 2026 20:26
@allenporter
allenporter force-pushed the feat/blob-refcount-and-derived-data-purge branch 2 times, most recently from db1f66d to 2420d89 Compare October 18, 2026 21:05
@allenporter
allenporter force-pushed the fix/storage-cleanup-249 branch from cfef5cd to d03e889 Compare October 18, 2026 21:05
@allenporter
allenporter force-pushed the feat/blob-refcount-and-derived-data-purge branch from 2420d89 to 55501e4 Compare October 18, 2026 21:44
@allenporter
allenporter force-pushed the fix/storage-cleanup-249 branch from d03e889 to 847d763 Compare October 18, 2026 21:44
@allenporter
allenporter force-pushed the feat/blob-refcount-and-derived-data-purge branch 3 times, most recently from 3ac40fe to 68f3406 Compare October 18, 2026 22:15
@allenporter allenporter changed the title feat(server): automated recycle bin retention cleanup, bounded batching, and admin trigger endpoint (#249, #248) feat(server): opportunistically prune expired recycle bin entries Oct 18, 2026
@allenporter
allenporter force-pushed the fix/storage-cleanup-249 branch from 847d763 to fa843cf Compare October 18, 2026 22:23
@allenporter
allenporter changed the base branch from feat/blob-refcount-and-derived-data-purge to main October 18, 2026 22:23
@allenporter
allenporter merged commit a7bcfff into main Oct 18, 2026
4 checks passed
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.

Recycle bin permanent-delete doesn't remove data; add daily auto-purge job for old entries

2 participants