mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #355] [Issue]: Daily/weekly conversation summaries do not consistently occur #151
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#151
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 @WhatsUpJerks on GitHub (May 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/355
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In conversation mode, I am not seeing daily or weekly summaries generated for some conversations.
Expected behavior
Summaries are generated as expected
Actual behavior
Summaries are not generated or are inconsistently generated
Steps to reproduce
Environment
Logs, screenshots, or video
Additional context
I am using a local LLM with a relatively small context window (~64k). I am assuming the summarization fails due
but there are no debug messages emitted and there is no option to retry or manually trigger summarization. This limits my ability to provide anything more actionable other than saying "I don't see something that I believe I should be seeing".
Since I believe this is a one-once-a-day process that will not be retried on failure, this means that context will continue to bloat over several days when summaries are not generated properly.
OpenCode suggested that perhaps messages are "aging" out of the summarization window after failure and thus will never be summarized once they fall out of the summarization window.
As a temporary workaround, I've identified that the day/week summaries are located in the
metadatafield in thechatstable. I'm looking at creating an external process as a temporary workaround to generate my own daily/weekly summaries to avoid this problem. So at least anyone else hitting this can see that there is a workaround, even if it's manual and somewhat hacky.Basic solution:
messagestable and properly format themI'm not a strong typescript developer so this is my "it's easier to concoct an external process using tools I'm already familiar with than to identify and fix the bug" hack.
Here's my SQLite query to get the messages in the correct format for summarization:
I tested my theory out manually and it worked perfectly: adding the entries to the JSON successfully trimmed conversation context. I'm going to hack together a python script I can run to generate the daily/weekly summaries when auto-summarization fails so it will unblock me for the time being.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (May 3, 2026):
v1.5.7.