mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #735] [Issue]: Long-Term Memory: Measure and harden regression execution #378
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#378
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 @Promansis on GitHub (Sep 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/735
Originally assigned to: @Promansis on GitHub.
Summary
The Long-Term Memory test suite (~15,400 lines across 16 files) currently lacks completion enforcement, allowing suites that stall or suspend on unresolved promises to silently exit with status 0 once the Node event loop drains. Specifically,
tests/long-term-memory-routes.regression.tscontains an unresolved cancellation wait in lines 3487–3537 whereimportPackageInteropmodel requests route through a lateconfigurePackageRuntimeoverride whose mock lacksabortInFlighthandling. Consequently,await chatCompleteEnterednever resolves, Node drains the empty event loop and exits with code 0 before reaching the completion log, skipping subsequent assertions while reporting green. Additionally, only 2 of the 16 LTM test files run in PR CI checks, and runner documentation intests/README.mdis incomplete.Affected package
long-term-memory/testsExpected behavior
tests/long-term-memory-routes.regression.ts, the in-flight cancellation scenario must resolve through the active model mock, trigger cancellation (inFlightResult.counts.cancelled === 1,abortReachedChatComplete === true), and complete the entire test run to the final completion log.Actual behavior
tests/long-term-memory-routes.regression.tsexits with code 0 midway through execution without reaching the completion log or running subsequent assertions.long-term-memory-index-keys.regression.tsandlong-term-memory-feedback-clarity-ui.regression.mjs).Steps to reproduce
MARINARA_ENGINE_ROOT="$PWD/../Marinara-Engine" pnpm --filter @marinara-engine/server exec tsx ../Marinara-Agents/tests/long-term-memory-routes.regression.tsconsole.log("...")completion message.Environment
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: