mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8383] [MERGED] fix: preserve linked roleplay OOC-only replies #8568
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#8568
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/8383
Author: @SpicyMarinara
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/8382-linked-ooc-replies📝 Commits (3)
21b2c96test: reproduce linked roleplay OOC-only reply loss (#8382)889a2f9fix: retain OOC-only roleplay answers after cleanupb0271b6fix: enforce speaker cleanup on recovered OOC text📊 Changes
3 files changed (+267 additions, -1 deletions)
View changed files
📝
packages/server/src/routes/generate/reply-text-cleanup.ts(+17 -1)📝
scripts/regressions/generate-reply-text-cleanup.regression.ts(+54 -0)➕
scripts/regressions/linked-ooc-replies.regression.ts(+196 -0)📄 Description
Linked issue
Closes #8382
Why this change
A valid Roleplay answer consisting entirely of OOC blocks was stripped to empty and discarded before its text could reach the connected conversation. This lost generated content and incorrectly told the user that the model returned nothing.
What changed
Dottore: <OOC>answer</OOC>also survive.Validation
pnpm installcompleted.pnpm checkpassed, including formatting, localization, type checks, lint, and production build; one existing client hook warning remains.pnpm regression:promptpassed all three regression files.pnpm smoke:uipassed all seven desktop Chromium cases on the final head.Manual verification notes
The generation regression uses the real route and disposable file-backed storage with a synthetic streaming provider. It does not claim real-provider verification. No client layout or controls changed.
Docs and release impact
No install, update, storage schema, provider, version, or documentation changes.
Validated feature head:
b0271b607a8ef3be823ff79de9d03635e5c288f6. GitHub CI and Dottore Review remain merge gates.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.