Skip to content

Conversation

yuvmen
Copy link
Member

@yuvmen yuvmen commented Oct 2, 2025

Currently only cleans up old orphaned release type Files, which basically had their ReleaseFile deleted but stayed hanging. We are trusting the type field here to differentiate - release type File should not be on their own and are 1:1 with ReleaseFile

Currently only cleans up old orphaned release type Files, which basically had their ReleaseFile
deleted but stayed hanging. We are trusting the `type` field here to differentiate - release type
File should not be on their own and are 1:1 with ReleaseFile
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 2, 2025
cursor[bot]

This comment was marked as outdated.

Copy link

codecov bot commented Oct 2, 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   #100810      +/-   ##
===========================================
+ Coverage   81.14%    81.16%   +0.01%     
===========================================
  Files        8604      8608       +4     
  Lines      381651    382058     +407     
  Branches    23987     23987              
===========================================
+ Hits       309698    310081     +383     
- Misses      71626     71650      +24     
  Partials      327       327              

@yuvmen yuvmen merged commit 91a9a04 into master Oct 3, 2025
65 checks passed
@yuvmen yuvmen deleted the yuvmen/add-file-deletion-task branch October 3, 2025 16:40
yuvmen added a commit that referenced this pull request Oct 3, 2025
Follow up to #100810 , registration was left out.
Registers the `File` model deletion task so it would be used by the deletion mechanism, as well as sets its child relation `FileBlobIndex`  to use BulkDeletion to speed it up.
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.

2 participants