mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #952] [MERGED] Fix saved sprite cleanup fallback #4857
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#4857
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/952
Author: @cha1latte
Created: 5/17/2026
Status: ✅ Merged
Merged: 5/17/2026
Merged by: @cha1latte
Base:
staging← Head:fix/saved-sprite-cleanup📝 Commits (1)
92dceadFix saved sprite cleanup fallback📊 Changes
2 files changed (+20 additions, -14 deletions)
View changed files
📝
packages/client/src/components/characters/CharacterEditor.tsx(+10 -7)📝
packages/client/src/components/personas/PersonaEditor.tsx(+10 -7)📄 Description
Linked issue
No linked issue yet; filed from Celia's local bug report that saved sprite cleanup showed "No saved sprites were cleaned" even though the cleanup tool was installed.
Why this change
backgroundremoverengine. If that executable was present but failed at runtime, the whole cleanup request failed instead of using Marinara's built-in fallback cleanup.What changed
engine: "auto"so the server can fall back to the built-in cleanup path whenbackgroundremovercannot run.backgroundremover.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
packages\server\node_modules\.bin\tsx.cmd scratch\repro-saved-sprite-cleanup-auto-fallback.ts.backgroundremoverrequest fails with500andNo saved sprites were cleanedwhen the command cannot run.engine: "auto"succeeds withprocessed=1,builtinProcessed=1, and changed the saved PNG corner alpha from255to0.pnpm check; it passed.Docs and release impact
No docs or version changes needed.
UI evidence (if applicable)
No screenshot attached; this is a UI-triggered behavior fix, but the visible UI only changes confirmation/toast copy. The core behavior is covered by the saved-sprite cleanup route repro above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.