mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1304] [MERGED] Fix remote message delete tracker cleanup #5025
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#5025
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/1304
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1247-storage-delete-cleanup📝 Commits (2)
b161a53Fix remote message delete tracker cleanup0dd4b7eMerge remote-tracking branch 'upstream/refactor' into fix/refactor-issue-1247-storage-delete-cleanup📊 Changes
2 files changed (+147 additions, -60 deletions)
View changed files
📝
src-tauri/src/commands/storage/commands/entities.rs(+17 -15)📝
src-tauri/src/http_dispatch.rs(+130 -45)📄 Description
Linked issue
Closes #1247
Why this change
/api/invokestorage_deletehad drifted from embedded Tauristorage_deletefor message records, so deleting a message through the remote runtime could leave tracker snapshots and stalechats.gameStatebehind.What changed
delete_entityhelper.storage_deletethrough that helper instead of maintaining a second generic delete implementation.Refactor impact
Primary owner:
Impact areas reviewed:
/api/invokegameStatesynchronizationBoundary notes:
Pressure points touched:
src-tauri/src/commands/storage/commands/entities.rssrc-tauri/src/http_dispatch.rsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
cargo test dispatch_storage_deletefailed before the fix becausesnapshot-message-2survived remote message deletion, then passed after the fix with the message cleanup test and non-message negative control.pnpm checkpassed after rebasing onto currentupstream/refactor; it ran architecture, frontend typecheck, Rust workspace check, and docs checks.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed with a storage/cross-entrypoint risk matrix.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A: no visible UI changed. The proof is the Rust dispatcher harness for remote runtime storage deletion.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.