mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7653] [MERGED] fix(memory): steady scene counter in Prepare, and no recollection asked for an edited or deleted one #7858
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#7858
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/7653
Author: @SpicyMarinara
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/memory-prepare-progress📝 Commits (3)
6a328e7fix(memory): steady scene counter in Prepare, and no recollection asked for an edited or deleted one4955c9afix(memory): clear a finished request's part, and ask only the requested characters for recollectionsf9e66dfMerge branch 'staging' into fix/memory-prepare-progress📊 Changes
5 files changed (+67 additions, -9 deletions)
View changed files
📝
packages/server/src/services/advanced-memory.ts(+10 -3)📝
packages/shared/src/types/advanced-memory.ts(+2 -0)📝
scripts/regressions/advanced-memory-core.regression.ts(+2 -2)📝
scripts/regressions/advanced-memory-recollections.regression.ts(+52 -3)📝
scripts/regressions/advanced-memory-recovery.regression.ts(+1 -1)📄 Description
Linked issue
No linked issue: requested by the maintainer on 2026-10-14. Follow-up to #7644 (review notes) and #7605.
Why this change
What changed
AdvancedMemoryJobgains an optionalpartfield ({ completed, total }). A scene's summary, access check and recollections report their parts there;completed/totalkeep counting scenes. A constant summary (its own job) still counts its parts incompleted/total. Scene-level updates resetparttonull.advanced-memory-core×2 andadvanced-memory-recovery) now readpartinstead ofcompleted/total. What they assert is unchanged: the paid part is kept and Resume reuses it.manualOverride).advanced-memory-recollections:0/4, 1/1, 1/4, 1/1, 2/4, 1/1.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run (results as reported, not a substitute for the boxes above):
pnpm check: exit 0. One existing lint warning in a client file this PR doesn't touch.node scripts/run-regressions.mjs --filter advanced-memory: 18/18 passed.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.