mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8790] [MERGED] fix: ElevenLabs sound effect length, Music DJ test samples, WebP backgrounds and Japanese MMD ZIPs #8806
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#8806
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/8790
Author: @SpicyMarinara
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/media-audio-fixes📝 Commits (6)
44c64d6fix(audio): let ElevenLabs choose sound effect length again9b5b612fix(agents): keep connection test samples out of the Music DJ libraryc4d37eefix(images): save generated backgrounds as WebP when the setting asks9b60323fix(avatars): import MMD ZIPs with Japanese or differently cased names98b0a2efix(images): replace the old format when a background is regeneratedb03a7a5fix(images): keep folder, star and old links when a background changes format📊 Changes
14 files changed (+410 additions, -56 deletions)
View changed files
📝
packages/server/src/lib/zip-reader.ts(+29 -2)📝
packages/server/src/routes/backgrounds.routes.ts(+15 -25)📝
packages/server/src/services/agents/agent-executor.ts(+6 -1)📝
packages/server/src/services/audio/generative-audio-providers.ts(+7 -3)📝
packages/server/src/services/audio/generative-audio.service.ts(+2 -1)📝
packages/server/src/services/avatars/formats/mmd.ts(+7 -1)📝
packages/server/src/services/background-library-organization.ts(+34 -2)📝
packages/server/src/services/game/game-asset-generation.ts(+66 -16)📝
scripts/regressions/avatar-mmd.regression.ts(+33 -0)📝
scripts/regressions/generated-image-format.regression.ts(+99 -1)📝
scripts/regressions/generative-audio-legacy-cache.regression.ts(+8 -1)📝
scripts/regressions/generative-audio-providers.regression.ts(+7 -0)➕
scripts/regressions/music-dj-local-library.regression.ts(+70 -0)📝
scripts/regressions/zip-reader.regression.ts(+27 -3)📄 Description
Linked issue
Closes #8789
Why this change
A release-prep audit found four media problems in this release, and two independent verifiers confirmed each. (1) Every new Game and Roleplay ElevenLabs sound effect was forced to exactly 5 s, which padded short cues and cut long ones. Before, ElevenLabs picked the length from the prompt. (2) The sample saved by a Music & Sound Effects connection test was offered to the Music DJ as a playable track. (3) With 'Save generated images as WebP' on, Game backgrounds, Background agent images and scene illustrations were made lossy WebP and then saved as larger PNGs, so the setting did not work for the largest images. (4) MMD ZIPs from Japanese Windows tools (CP932 names without the UTF-8 flag), or with texture names in a different case, were refused as missing textures or unsafe paths, although the docs promise Japanese names work.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run checks (for reference; each regression was shown to fail without its fix):
git diff 475208f00f aed5e3578d --stat (re-verify findings on current staging): Only 4 docs files changed. Every finding's code is unchanged, so all four still apply.node ./scripts/pnpm-runner.mjs build:shared: exit 0Fail-before runs: each source file temporarily reverted, then node ./scripts/run-regressions.mjs --filter <name>: Each new assertion FAILED without its fix and PASSED with it (details per finding).node ./scripts/run-regressions.mjs --filter <file>, one by one, for 34 nearby regressions (zip/archive/mmd/avatar-models/glb/vrm/backgrounds/generative-audio/im: 33 PASSED. avatar-backgrounds.regression.ts timed out once at the 30 s per-file limit while the machine was loaded. Rerun alone it PASSED twice (16.5 s and 27.2 s). It is not in the code I touched.cd packages/server && node ../../scripts/pnpm-runner.mjs run lint (tsc -b ../shared && tsc --noEmit && tsc -p ../../scripts/regressions/tsconfig.character-activ: No type errors reported (about 3 min).tsc -p <temporary tsconfig extending scripts/regressions/tsconfig.character-activity.json, listing the changed regression files> (file deleted afterwards): The new music-dj-local-library.regression.ts is clean. Remaining errors are in lines I didn't change: providers regression lines 89 and 162-163 exist identically in HEAD, plus legacy-cache null checksnode_modules/.bin/prettier --write <all 12 changed files>: All unchanged (already formatted).eslint: Not run. ESLint is set up only for packages/client (packages/client/eslint.config.js), and the server lint script is tsc only. No client files changed.pnpm localization:check: Not run. No client copy changed.Independent adversarial review: approve.
Known limits and risks:
generated-*names. Pairs already on disk are cleaned up at that slug's next successful forced regeneration.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.