mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7420] [MERGED] perf(roleplay): look up the persona only for an edit with a whisper tag #7725
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#7725
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/7420
Author: @SpicyMarinara
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/typed-whisper-persona-lookup📝 Commits (1)
e8d674bperf(roleplay): look up the persona only for an edit with a whisper tag📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
packages/server/src/services/storage/chats.storage.ts(+2 -1)📄 Description
Linked issue
Closes #7411 (follow-up to #7412)
Why this change
75e062510) was pushed to the #7412 branch just after that PR merged, so it never reached staging. This PR lands it.What changed
updateMessageContentasksuserRoleplayPreparerfor the persona only when the edited text contains a[whispertag. Other edits skip the persona lookup. No behaviour changes: without a whisper tag, no whisper is created.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run by the agent:
pnpm check, andnode ./scripts/run-regressions.mjs --filter scripts/regressions/roleplay-user-private-generation.regression.ts, whose persona-whisper case still passes.Manual verification notes
[whisper: character="<persona name>" text="secret"]still shows "Whisper to " in the message.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.