Storage cleanup tools (#70) #130
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!130
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-70-storage-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #70 (part of #24).
Storage now suggests what could go, and nothing runs until the filmmaker acts. Suggestion chips tick rows only. Each row says which action takes it, and the selection bar offers those actions.
What changed
_Removed/and Compact. Each one ticks the rows it names and also shows every kind, so the ticked rows are visible. Only rows an action can take now are suggested: a circled or promoting item never is._Removed/: deletes what re-exports set aside. It warns that clips still linked in a DaVinci Resolve project will go offline. It can't be undone.VACUUMand then folds the WAL back into the file, so the file really shrinks.PurgeDialog.For review
VACUUMruns, so no job can start or land, not even the one ComfyUI is running. It doesn't write the queue's paused flag, so the user's paused setting stays as it was, even if Compact fails.0 Bthere, which reads as useless.Tests
cargo test --workspace --all-features,bun test src scriptsandbun run checkall pass.crates/studio-core/tests/storage.rs:../_Removed/after a re-exportScreenshots
These come from a sample Project. ComfyUI was offline, so there are no Renditions. The
_Removed/folder was set up by hand.