mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8027] [MERGED] fix: Game audio, NanoBanana sizing, launcher and Roleplay TTS readiness #8061
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#8061
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/8027
Author: @SpicyMarinara
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/assigned-issue-sweep-20261022📝 Commits (7)
0d3dfbafix(images): use NanoBanana 2.1 resolution tiers on NanoGPTd52386bfix: complete assigned audio, roleplay and startup issue sweep331fe2efix: preserve IPv6 startup and strengthen review regression controlse2b7ae3fix: persist turn variables before early speech readinessd9590eeMerge remote-tracking branch 'origin/staging' into fix/assigned-issue-sweep-20261022df13d88fix: reject browser launch requests without a server entrypointe49993efix: require the server entry first for browser startup📊 Changes
32 files changed (+1828 additions, -118 deletions)
View changed files
📝
docs/CONFIGURATION.md(+1 -1)📝
docs/TROUBLESHOOTING.md(+4 -0)📝
docs/media/tts-setup.md(+17 -0)➕
e2e/compatible-game-audio.e2e.ts(+242 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+96 -9)📝
packages/client/src/components/game/GameSetupWizard.tsx(+6 -9)📝
packages/client/src/components/game/GameSurface.tsx(+10 -6)📝
packages/client/src/hooks/use-connections.ts(+3 -0)📝
packages/client/src/lib/connection-transfer.ts(+21 -0)📝
packages/client/src/localization/locales/en.json(+10 -0)📝
packages/server/src/db/schema/connections.ts(+3 -0)📝
packages/server/src/index.ts(+7 -0)📝
packages/server/src/routes/generate.routes.ts(+28 -26)📝
packages/server/src/routes/tts.routes.ts(+100 -41)➕
packages/server/src/services/game/compatible-audio.ts(+64 -0)📝
packages/server/src/services/image/image-generation.ts(+35 -5)📝
packages/server/src/services/storage/connections.storage.ts(+10 -0)📝
packages/shared/src/schemas/connection.schema.ts(+14 -0)📝
packages/shared/src/types/connection.ts(+28 -2)➕
scripts/regressions/audio-connection-transfer.regression.ts(+74 -0)...and 12 more files
📄 Description
Linked issue
Closes #7967
Closes #8022
Closes #8023
Closes #8026
Owner: @SpicyMarinara, assisted by Codex.
Why this change
Game music/SFX was restricted to ElevenLabs, NanoGPT rejected NanoBanana 2.1 avatar sizes, launcher timers could open the browser before startup completed, and unrelated agent activation calls could delay Roleplay speech preparation. This maintainer-assigned sweep leaves existing contributor PRs and their dependent translation issues untouched.
What changed
1k/2kresolution tiers and an aspect ratio derived from requested dimensions. Other models/providers and explicit custom overrides retain their behavior.docs-i18n.Validation
pnpm checkpasses locallyCONTRIBUTING.mdRecorded evidence
Final candidate
e49993e2a4025860add98afaa62857664af4475f, current staging base93c37404c432193a8c342b20549ce900a12246b6:pnpm checkpassed, including localization, formatting, types and builds. One pre-existing HomeProfessorMariChat effect-dependency warning remains.d9590ee6c: 973/973 passed; all eight required statuses and all ten platform checks also passed there. The final CLI-only repair requires fresh hosted results. Full local Node runner atd52386b5f: 969/969 passed. After the review follow-up, the changed startup/audio controls were rerun on331fe2e6d. An outdated launcher source assertion failed initially; unchanged reproduction confirmed the stale pin, then an exact quoted-argument assertion and the runner's serial retry passed. Real Termux shell-block checks preserved arguments and exit codes 0/37 with browser opening enabled/disabled.d9590ee6c: 9/9, including mobile computed-font guards, desktop Chromium/mobile Chromium/mobile WebKit, dark/light, persistence, invalid-save/source-switch recovery and Game capability gating. Initial selector failures were preserved/reproduced; only the test's combobox/switch selectors changed, with no skip, forced click or timeout increase.d9590ee6cpassed; production startup/reload against that container passed 3/3 across the browser targets.d9590ee6c: 7/7 passed.331fe2e6dcompleted all 32 files and found one substantive ordering issue: early readiness preceded macro-variable persistence. The fix commits macro variables before exposing readiness; a new real-runner test fails unchanged (0instead of1) and passes with the fix, including a concurrent next turn and preservation of its final counter value. The follow-up review of the two changed files completed with 0 findings. Current staging was then merged without conflicts; the feature patch has the identical stable patch ID before/after integration. Hosted Dottore then completed a full examination ofd9590ee6c(59 model calls, 95 tools). Its two low findings were adjudicated: keep the documented Base-URL-relative endpoint contract, with a code-based reply; fix the malformed browser CLI form with a four-line no-entry guard. The new regression proves malformed/missing/option-only server arguments previously executed Node stdin and now fail before a child starts. Browser mode requires the script first; Node flags before the supervisor and non-browser Node forwarding are verified. All four launcher suites passed. A local follow-up found the option-only variant, which is fixed; the final review of the two changed files completed with 0 findings. Final-head hosted Dottore review remains a merge gate.Manual verification notes and claim boundaries
Browser interactions and screenshots were visually inspected. Manually verify the Audio editor/Game setup with your own backend and browser opening on physical Windows10/Firefox and Termux devices. External provider generations, physical-device behavior and live Infermatic compatibility are not claimed. Its music contract was unverified in the report; the two supported contracts and unsupported asynchronous/remote-result APIs are documented.
Risk areas are provider shaping, additive connection storage, agent scheduling and launcher lifecycle. Positive and negative controls cover current/legacy audio, native ElevenLabs, other image models/providers, writers/non-writers, failures/aborts and shell exit codes. Storage layout is unchanged; no storage-format bump is required.
Docs and release impact
docs-i18nupdated to match, or a follow-up issue openedUpdated
docs/media/tts-setup.md,docs/CONFIGURATION.md,docs/TROUBLESHOOTING.md; translation follow-up #8029. Reviewed README, Android README, CONTRIBUTING, Configuration, Troubleshooting and FAQ together. No version, dependency or CHANGELOG changes.UI evidence (if applicable)
Verified gallery: 12 dark/light desktop/mobile editor captures. Published bytes match the local artifact. Current-state screenshots only; no before-state capture is claimed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.