mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5996] [MERGED] Fix Roleplay command settings responsiveness and access #7021
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#7021
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/5996
Author: @SpicyMarinara
Created: 9/9/2026
Status: ✅ Merged
Merged: 9/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/roleplay-command-settings-followup📝 Commits (2)
96ae4dftest: reproduce roleplay command settings regressions027e203fix: keep roleplay command settings responsive and enforce access📊 Changes
9 files changed (+347 additions, -23 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/roleplay-commands.e2e.ts(+280 -0)📝
packages/client/src/components/chat/RoleplayCommandsSettings.tsx(+14 -11)📝
packages/client/src/hooks/use-chats.ts(+3 -3)📝
packages/client/src/localization/locales/en.json(+3 -0)📝
packages/server/src/routes/generate.routes.ts(+1 -1)📝
packages/shared/src/types/chat.ts(+1 -0)📝
packages/shared/src/types/roleplay-command.ts(+5 -3)📝
scripts/regressions/roleplay-commands.regression.ts(+38 -5)📄 Description
Linked issue
Closes #5995
Why this change
Every command edit disabled the entire Roleplay Commands section until the save completed, making slow connections feel frozen. Soundtrack could also be offered without Music DJ active in the chat, Documents lacked narrator-only access, and the Combat prerequisite did not name its agent.
What changed
Validation
pnpm check,pnpm check:e2e-types, andpnpm regression:promptpassed.action: none, so this checks routing without claiming live playback./api/healthresponse, then was stopped.pnpm smoke:ui e2e/roleplay-commands.e2e.ts: all 21 checks passed across desktop Chromium, mobile Chromium, and mobile WebKit.mari-guard-sibling-paths(symlink canonical target assertion) andstorage-writer-lock(boot-ID fixture) also fail identically in a separate untouched staging worktree ata03e362f; these are pre-existing local platform failures. A previous run was discarded after a concurrent build removed shared output during testing.Manual verification
Docs and release impact
Unreleased changelog entry and canonical English UI strings updated. No English docs or release metadata changed, so no docs-i18n follow-up is needed.
UI evidence
Before/after screenshots and proof boundaries: https://gist.github.com/SpicyMarinara/7cecae2fee6d05f456a5b3312448af4f
Claim boundaries
Touches optimistic settings persistence and command authorization/routing. The tests exercise rapid edits, repeated toggles, failed queued saves, reload persistence, All/Narrator with missing/ambiguous callers, unavailable agents, and Spotify/YouTube/custom command execution. Existing DM defaults and legacy command extras remain covered by the Roleplay regression suite. Physical-device feel and authenticated music playback remain manual checks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.