mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4275] [Issue]: Deleting a chat gallery image does not remove copies from other galleries #2313
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#2313
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 (Jul 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4275
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Generated images involving a user or character are intentionally saved to multiple galleries, but deleting an image from the chat gallery does not remove the corresponding copies or files from the other galleries.
Expected behavior
Deleting an image from the chat gallery should also remove the corresponding image from related user and character galleries and delete unneeded files from server storage.
Actual behavior
After an image is deleted through the UI, copies appear to remain in other galleries and under packages/server/data/gallery/, causing unused image files to accumulate.
Steps to reproduce
Environment
f294482Logs, screenshots, or video
Three screenshots were attached as evidence of the same image appearing under different titles: https://cdn.discordapp.com/attachments/1532122990278479992/1532122990760693810/0C1atkXrlkG1Lk_acDzpY.png?ex=6a6bb43a&is=6a6a62ba&hm=b8c19b668bd3576909b81aa8730b3a8901e4f4dc7df8e52ca90a7b32bb900baa&, https://cdn.discordapp.com/attachments/1532122990278479992/1532122991230451822/bmgiQ_HmcKAKPoSqcyaob.png?ex=6a6bb43a&is=6a6a62ba&hm=0a6e858dc6778a136af124eec82617665ebb5bb408639cd4ec8f095dd3d1d8e1&, and https://cdn.discordapp.com/attachments/1532122990278479992/1532122991595487343/nJBFKB5stg7Zgbp5Lug4E.png?ex=6a6bb43a&is=6a6a62ba&hm=513bef1edc9a121408e63bb3c7efeb7df762a50b5afe32b3781f4cd9cc1d2f6c&. No logs were provided.
Additional context
The maintainer confirmed that saving an image to each involved character or user gallery is intended. The maintainer also agreed that deleting an image from the chat gallery should remove it from the other galleries. The reporter is concerned that retained files will cause server storage usage to grow over time.
Discord thread: [Bug?] Generated Images are saved multiple times + deletion doesn't actually delete from server
Discord thread link: https://discord.com/channels/1417099416812392641/1532122990278479992
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: