mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1247] [Issue]: Refactor HTTP storage_delete skips message tracker snapshot cleanup #609
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#609
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 @Xelvanis on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1247
Originally assigned to: @cha1latte on GitHub.
Summary
The embedded
storage_deletecommand has special cleanup behavior when deleting messages, but the HTTP remote-runtimestorage_deletedispatcher appears to delete the row without that message-specific cleanup. Remote message deletion can leave tracker snapshots or chat game-state data behind.Expected behavior
Deleting a message through embedded Tauri and deleting the same message through remote
/api/invokeshould have equivalent storage semantics, including tracker snapshot cleanup and any chat game-state synchronization tied to message deletion.Actual behavior
The embedded command path has message-specific cleanup for tracker snapshots. The HTTP dispatch path handles
storage_deleteas a generic storage delete and does not mirror that message cleanup branch.Steps to reproduce
refactorbranch, run the remote runtime./api/invokewithstorage_delete.Impact area
Environment
refactor, identified during 2026-05-26 failpath audit/api/invokeLogs, screenshots, or video
Relevant code paths:
Audit finding:
Regression notes
Found by source inspection during the 2026-05-26 failpath audit. Needs a focused embedded-vs-HTTP parity test.
Additional context
This is remote runtime parity, not a UI-only deletion problem. The fix should keep the delete owner centralized or add parity coverage so embedded and HTTP entrypoints cannot drift again.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 26, 2026):
closed in #1304