mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3468] [MERGED] Preserve settings when switching TTS sources #5952
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#5952
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/3468
Author: @SpicyMarinara
Created: 7/11/2026
Status: ✅ Merged
Merged: 7/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/tts-source-persistence-3467📝 Commits (2)
d64a4efAdd TTS source persistence regression20a5161Preserve settings across TTS sources📊 Changes
7 files changed (+253 additions, -45 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/media/tts-setup.md(+1 -3)📝
package.json(+2 -1)📝
packages/client/src/components/panels/settings/TTSConfigCard.tsx(+52 -27)📝
packages/server/src/routes/tts.routes.ts(+71 -13)📝
packages/shared/src/types/tts.ts(+55 -1)➕
scripts/regressions/tts-source-persistence.regression.ts(+71 -0)📄 Description
Linked issue
Closes #3467
Why this change
Changing the Text to Speech source currently replaces the previous source's API key and provider parameters with another provider's defaults. Switching back cannot recover that configuration.
What changed
Validation
Automated evidence:
pnpm regression:ttspasses, covering legacy migration, two independent encrypted keys, switching both directions, response masking, and a blank-profile negative control.pnpm checkpasses locally.Hosted
pnpm-validateandcontainer-build-testchecks pass.pnpm checkpasses locallyContainer (Docker / Podman) built and ran without issue
Ran the app, clicked through the changes manually
Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
Above manual verification completed (describe below)
Read and followed
CONTRIBUTING.mdManual verification notes
The in-app browser was unavailable in this workspace session, so a live click-through was not claimed.
Docs and release impact
UI evidence (if applicable)
No visual layout change; this fixes persisted source-switch behavior.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.