[GH-ISSUE #7872] [Issue]: Advanced Memory compaction rejects unchanged summaries stored out of order #4329

Closed
opened 2026-10-21 06:14:55 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7872

Originally assigned to: @SpicyMarinara on GitHub.

Summary

A user reported that Advanced Memory Recall repeatedly stops with "Chat Summaries changed while being combined; retry" when ranged Chat Summaries are stored out of message order. The report includes a precise diagnosis: the save guard compares storage order against message order even though the selected entries are unchanged.

Expected behavior

Compaction saves unchanged summaries regardless of storage order. Genuine concurrent edits, missing entries, and policy changes are rejected with an error that remains resumable.

Actual behavior

The job stays at "0 of 1 work unit completed". Resume repeats the same error, and resetting does not help because reset intentionally preserves Chat Summaries.

Steps to reproduce

  1. Keep ranged Chat Summaries in storage order such as #879–929, #930–1191, #1–29, #30–161.
  2. Run Advanced Memory until constant summaries need compaction.
  3. Press Resume after the error; the unchanged summaries are rejected again.

Environment

  • Marinara Engine version: staging, reported at 27a7bf915
  • Install type: Docker
  • OS + version: not supplied
  • Browser or app shell: not supplied

Logs, screenshots, or video

Reported error: Chat Summaries changed while being combined; retry.

Additional context

Owner: @SpicyMarinara. Urgent release handoff item 9. Compare current entries by ID aligned with the compaction inputs while preserving the policy check and replacement history. Affected users should only need to update and press Resume; their summaries are kept.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7872 Originally assigned to: @SpicyMarinara on GitHub. ## Summary A user reported that Advanced Memory Recall repeatedly stops with "Chat Summaries changed while being combined; retry" when ranged Chat Summaries are stored out of message order. The report includes a precise diagnosis: the save guard compares storage order against message order even though the selected entries are unchanged. ## Expected behavior Compaction saves unchanged summaries regardless of storage order. Genuine concurrent edits, missing entries, and policy changes are rejected with an error that remains resumable. ## Actual behavior The job stays at "0 of 1 work unit completed". Resume repeats the same error, and resetting does not help because reset intentionally preserves Chat Summaries. ## Steps to reproduce 1. Keep ranged Chat Summaries in storage order such as #879–929, #930–1191, #1–29, #30–161. 2. Run Advanced Memory until constant summaries need compaction. 3. Press Resume after the error; the unchanged summaries are rejected again. ## Environment - Marinara Engine version: staging, reported at `27a7bf915` - Install type: Docker - OS + version: not supplied - Browser or app shell: not supplied ## Logs, screenshots, or video Reported error: `Chat Summaries changed while being combined; retry`. ## Additional context Owner: @SpicyMarinara. Urgent release handoff item 9. Compare current entries by ID aligned with the compaction inputs while preserving the policy check and replacement history. Affected users should only need to update and press Resume; their summaries are kept. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:14:55 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4329
No description provided.