mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8306] [Issue]: Gacha Forge regenerates dialogue audio instead of reusing existing audio #8238
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#8238
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 @SpicyMarinara on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8306
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Dialogue audio is generated again even when audio for that dialogue has already been generated.
Expected behavior
Reuse the existing dialogue audio when the line and applicable voice configuration match. Repeated playback or revisiting the same line should not issue another generation request. A changed line or voice configuration should use the corresponding updated audio.
Actual behavior
The maintainer reports repeated generation instead of reuse of the audio already produced.
Steps to reproduce
Reported path to verify; not independently reproduced during issue filing.
Environment
Logs, screenshots, or video
No audio request log or recording was supplied with this additional report.
Additional context
Owner: @SpicyMarinara / Codex. Added to the authorized issue sweep and the Gacha Forge package work in Marinara-Agents PR #1674. Filed in Engine alongside the maintainer's other Gacha Forge reports; implementation belongs in Marinara-Agents unless a host integration defect is found.
Template check
@SpicyMarinara commented on GitHub (Oct 25, 2026):
Maintainer clarification: this happens when replaying dialogue in the same open app, without a browser reload.
The Gacha Forge repair in Agents PR #1674 gives dialogue synthesis a stable cache identity for matching text and voice settings while keeping each playback request distinct. The actual Engine TTS route regression covers replay/revisit reuse and text/voice/speed invalidation. A final same-app reuse check against the combined Engine build remains before closure; this issue does not require changing iOS's cache lifetime across full browser reloads.
@SpicyMarinara commented on GitHub (Oct 25, 2026):
Addressed in Gacha Forge 1.16.0 through Agents PR #1674, merged to
stagingasdb10c82cd7f5522b34e5e3b1ee2fce63a752dea2.Supply a stable Engine TTS cache key for the exact text, character/speaker, assigned voice, selected source/baseURL/model and effective synthesis settings, retaining unique playback IDs for cancellation.
Validation: Current maintained regression reuses one synthetic generated clip across repeated lines and a recreated controller; text/voice/character/source/model/synthesis changes invalidate identity. Actual Engine TTSService integration with synthetic blobs confirms repeated/reopened dialogue synthesizes once and voice/text/speed edits each generate distinct audio. Final same-open-app replay/reopen check passes against actual combinedEngine b508 client TTSService and final6b449 Forge controller; one synthetic generation is reused, and voice/text/speed changes invalidate it.
The confirmed report is same-open-app replay, which the stable cache key addresses. Engine iOSWebKit full-browser-reload persistence policy remains unchanged and is outside this clarified report; synthetic provider proof does not claim real-provider sound quality.
Publication and shared validation: https://github.com/Pasta-Devs/Marinara-Agents/pull/1674#issuecomment-6397209332