mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8793] bound Advanced Memory's parsed-extras cache; keep manual hides when a summary that hid nothing is deleted #8502
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#8502
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 (Nov 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8793
Originally assigned to: @SpicyMarinara on GitHub.
Found by the 2026-11-03 release-prep bug sweep of Marinara Engine. Each finding was confirmed by two independent verifiers.
Two problems found in release-prep auditing, both re-checked on staging
aed5e3578d.(1) The two Advanced Memory route services live for the whole server process. Each kept a parsed copy of every message extra for every Roleplay/Game chat it ever read, with no limit. Opening Chat Settings on a Roleplay or Game chat is enough to fill it, even with Advanced Memory off. A deleted chat stayed cached until restart. On SteamOS and Termux the cache also kept chats that the MARINARA_MAX_RESIDENT_CHATS cap had already evicted.
(2) A summary saved with "Hide summarised messages" off records which messages it covers, but no list of messages it hid. Deleting it fell back to the covered list and showed every covered message to the model again. That includes messages the user later hid by hand with the eye toggle or /hide. Branching inside such a summary did the same to the copied messages. Turning the hide setting off already showed only what the summary hid, so delete and branch were the odd ones out.
No linked issue exists. One should be opened before the PR is submitted.
🤖 Generated with Claude Code