mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1510] [MERGED] fix(long-term-memory): log unexpected server errors and show the action's own message (1.4.60) #1521
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1521
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-Agents/pull/1510
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/server-error-hygiene📝 Commits (3)
eaa2550fix(long-term-memory): log unexpected server errors and show the action's own message (#1506)0b54c04Merge upstream/staging into fix(long-term-memory)/server-error-hygiene; release long-term-memory 1.4.595dbf333Merge upstream/staging into fix(long-term-memory)/server-error-hygiene; release long-term-memory 1.4.60📊 Changes
27 files changed (+345 additions, -164 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.60.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+1 -1)📝
packages/long-term-memory/docs/ARCHITECTURE.md(+5 -0)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+55 -55)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts(+4 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+1 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/drafts/reconciliation.ts(+77 -16)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/drafts/rejected-suggestions.ts(+12 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/note-fork-repair.ts(+10 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/scope-links.ts(+2 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/persistence/backup-restore.ts(+7 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/recall/usage.ts(+2 -2)...and 7 more files
📄 Description
Pull request
Linked issue
Closes #1506
Why this change
What changed
long-term-memory:ltm_unexpected_failure. A cancelled import is not logged. Identity-repair apply uses the sharedrouteError. Deferred index rebuilds return "Index rebuild failed" unless the error is an LTM service error.ltm_unexpected_failureand the Engine's generic "Internal Server Error" as having no user message, so each action shows its own localized error.usage.jsoncomment and log line (the file holds only the receipt de-duplication list since 1.4.42).retrievalblock as legacy input that must keep every field.ARCHITECTURE.mdexplains the existing-note extraction settings, and their help text no longer says those memories are sent to the model.long-term-memory1.4.60, with the CHANGELOG entry, version, manifest, rebuiltclient.jsandserver.mjs, artifact and catalog entries. At land, the branch was merged withupstream/stagingtwice (1.4.58, #1509; then 1.4.59, #1511); only the release files conflicted, and the release script resolved them.identity-repair.ts, only when the backup restore also fails).indexRebuild.error; the background rebuild changes where that error is kept, so it follows separately.sources/interop.ts,extraction/source-processing.ts, shown in the Sources workspace).Package and security impact
long-term-memoryltm_invalid_requestfor a Zod error and each service error's own status, like the fork-repair routes.ltm_draft_*code and is not retryable, instead offinalize_failedand retryable.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
tests/long-term-memory-routes.regression.ts, scope-identity scenario:routeErrorwith plain, library and cancelled errors;rebuildAfterMutation.tests/long-term-memory-source-pagination.regression.ts: client error text forltm_unexpected_failure, the Engine's generic 500, a coded service error and a code-less 500.stagingand pass with the fix.routeError, identity-repair apply or the deferred-rebuild responses;Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.