mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5039] [Issue]: Add storage optimization for abandoned avatar files #2789
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2789
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @SpicyMarinara on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5039
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Avatar files from previous Marinara Engine versions remain in the storage folder after the related lingering-avatar bug was fixed. Add a safe way to detect and remove abandoned files, such as an Optimize Storage button in Advanced Settings.
Expected behavior
Marinara Engine should detect avatar files that are no longer referenced and provide a safe way to remove them without requiring manual deletion.
Actual behavior
Old avatar files from previous versions continue to linger in the storage folder. The folder contains over 1,000 images, making manual cleanup difficult and risky.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video provided. Related Discord bug report: https://discord.com/channels/1417099416812392641/1534850503668662414
Additional context
The related lingering-avatar deletion bug was confirmed fixed, but files left over from previous versions are not cleaned up. The user requested scheduled cleanup or an on-demand debug/storage optimization action. Marinara Engine suggested adding an Optimize Storage button in Advanced Settings. Build: 2.4.2+b50a007e665f; commit:
b50a007e66; GPU: Apple GPU; active connection: Test; connection provider: image_generation; LLM model: gpt-image-2.Discord thread: Follow up to bug report relating lingering avatar files
Discord thread link: https://discord.com/channels/1417099416812392641/1537935138913124432
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: